Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #732665

    Hi, i’ve tried to add a font to the template but is not working. Can you help out?
    I’ve used this code:

    add_filter( 'avf_google_heading_font', 'avia_add_heading_font');
    function avia_add_heading_font($fonts)
    {
    $fonts['Stardos Stencil'] = 'Stardos Stencil:400,700';
    return $fonts;
    }
    
    add_filter( 'avf_google_content_font', 'avia_add_content_font');
    function avia_add_content_font($fonts)
    {
    
    $fonts['Stardos Stencil'] = 'Stardos Stencil:400,700';
    return $fonts;
    }
    #732701

    Hey druzes,

    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

    #732737

    Here it goes, thank you.

    #732746

    Hi!

    I moved your code to right below following line in functions.php file

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

    Please review your website now

    Cheers!
    Yigit

    #732753

    Thank you, now it works fine.
    Regards

    #732754

    Hi!

    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 :)

    Cheers!
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Problem adding google font Stardos’ is closed to new replies.