Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #723065

    Hello!
    I want Enfold to contain Cyrillic font Open Sans.
    So i did following:
    1) Created child theme
    2) Added to childs functions.php

    function add_subset_func($fontlist) {
    	$fontlist .= "&subset=cyrillic";
    	return $fontlist;
    }
    add_filter('avf_google_fontlist', 'add_subset_func');
    
    add_filter( 'avf_google_heading_font', 'avia_add_heading_font');
    function avia_add_heading_font($fonts)
    {
    $fonts['Open Sans Cyr'] = 'Open Sans:400,400i,700';
    return $fonts;
    }
    
    add_filter( 'avf_google_content_font', 'avia_add_content_font');
    function avia_add_content_font($fonts)
    {
    $fonts['Open Sans Cyr'] = 'Open Sans:400,400i,700';
    return $fonts;
    }

    I also added at the same place this code (nothing changed)

    
    if(isset($avia_config['use_child_theme_functions_only'])) return;
    

    I have Open Sans Cyr in both font lists and I see it in CSS code but the actual font is Arial.

    in CSS

    Can you help me please?
    Regards, Vital

    • This topic was modified 7 years, 4 months ago by Vital.
    #723838

    Hey Vital,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    Login credentials include:

    • The URL to the login screen.
    • A valid username (with full administration capabilities).
    • As well as a password for that username.
    • permission to deactivate plugins if necessary.

    Best regards,
    Yigit

    #723844

    Hey!
    I deleted: 400,400i,700 and it worked.

    Regards, Vital

    #723852

    Hi!

    Glad you figured it out! :)

    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Cyrillic support issue’ is closed to new replies.