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

    Love the theme and never had any problems. My client wants to use the Google Font “Limelight” for one particular heading.

    I have searched the comments and found a solution. However when I copy the code given into functions.php I get the dreaded white screen. I am using 3.8 and a child theme.

    Any help would be much appreciated.

    #694528

    Hey Hoey!

    Could you please switch user role to administrator? :)

    Regards,
    Yigit

    #694530

    Sorry. Done it now

    #694535

    Hey!

    Sorry but functions.php file is not writable in Appearance > Editor. Please makes it writeable, send us FTP logins or add following code to wp-content/themes/enfold-child/functions.php file

    add_filter( 'avf_google_heading_font', 'avia_add_heading_font_new');
    function avia_add_heading_font_new($fonts)
    {
    $fonts['Limelight'] = 'Limelight:400';
    return $fonts;
    }
    
    add_filter( 'avf_google_content_font', 'avia_add_content_font_new');
    function avia_add_content_font_new($fonts)
    {
    $fonts['Limelight'] = 'Limelight:400';
    return $fonts;
    }

    Cheers!
    Yigit

    #694546

    Hi Yigit

    Have added as sugested and work as treat. Thank you.

    Super fast support!

    Hoey

    #694550

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

    Regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Adding new fonts’ is closed to new replies.