Tagged: ,

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

    I can’t add Google cyrillic fonts to Enfold.
    According to Register Additional Google Fonts for Theme Options I have add code to theme functions.php file (I don’t use child themes), but new font “Tinos” didn’t apear in the General Styling font dropdowns.
    Pleasу help me to add cyrillic Google fonts!
    I am using Enfold theme with imported “Church Demo” files.

    1. Screenshot: https://yadi.sk/i/8SkI2UbRqz5oA
    2. Herу is the code:
    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘Tinos’] = ‘Tinos:400,700:latin,cyrillic’;
    return $fonts;
    }
    add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
    function avia_add_content_font($fonts)
    {
    $fonts[‘Tinos’] = ‘Tinos:400,700:latin,cyrillic’;
    return $fonts;
    }

    • This topic was modified 7 years, 11 months ago by Shamuratova.
    #613946

    Hey Shamuratova!

    Please make sure to add your code right below following line in Apperance > Editor > Functions.php

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

    Best regards,
    Yigit

    #614077

    Thank you, Yigit!
    This way is ok!

    #614089

    Hey!

    You are welcome!
    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 :)

    Best regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How to add Google cyrillic fonts to Enfold?’ is closed to new replies.