Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #311308

    Hello, I am trying to add a google font to my Enfold theme and followed the instructions in this page: http://kriesi.at/documentation/enfold/register-additional-google-fonts-for-theme-options/

    This is the code I used:

    
    add_filter( 'avf_google_heading_font', 'avia_add_heading_font');
    function avia_add_heading_font($fonts)
    {
    $fonts['Droid Arabic Kufi'] = 'Droid Arabic Kufi';
    return $fonts;
    }
    
    add_filter( 'avf_google_content_font', 'avia_add_content_font');
    function avia_add_content_font($fonts)
    {
    
    $fonts['Droid Arabic Kufi'] = 'Droid Arabic Kufi';
    return $fonts;
    }

    Edit: I am using a child theme.

    The font is added to the list of fonts in Enfold options, however when I select it the headings and content font doesn’t change. Any idea?

    Thanks

    • This topic was modified 9 years, 7 months ago by aymanati.
    #311476

    Hello, did you have a chance to look at it?

    Thanks

    #312083

    Hi @aymanati,

    I’ll close this topic, this issue was addressed here.

    Regards,
    Josue

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Added New Google Font, But Didn't Work’ is closed to new replies.