Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #944580

    Hi,
    I want to use the Google font Merriweather as a content font in Enfold.

    According to your instructions, I added the font in my child theme’s functions.php, but it’s not shown in the menu. Please take a look.

    • This topic was modified 6 years, 8 months ago by Thomas.
    #944618

    on Enfold Options – general styling – fonts there are both heading and content
    the newly added fonts are at the bottom of the list. If not – please show me your code you have inserted

    #944633

    Thanks. Here is the code I have added:

    /* Add Merriweather font for content. */
    add_filter( 'avf_google_content_font',  'avia_add_content_font');
    function avia_add_content_font($fonts)
    {
    $fonts['Merriweather'] = 'Merriweather:400,700';
    return $fonts;
    }

    And this is my font menu – as you see, that font Merriweather is still missing.

    Bildschirmfoto_vom_2018_04_20_16_48_08

    • This reply was modified 6 years, 8 months ago by Thomas.
    #944824

    Hi Thomas,

    Thanks for the login details, though your child themes functions.php is empty except for one line deactivating LayerSlider. Where exactly did you add the code?

    Best regards,
    Rikard

    #944851

    Hi Rikard,
    I just realized that somehow I didn’t save the changes.

    I added the lines again, and now it works. Thanks for your help, and sorry for bothering you.
    You can close this thread now.

    Best regards,
    Thomas

    • This reply was modified 6 years, 8 months ago by Thomas.
    #944961

    and your screenshot does not show the bottom of the list – where the newly added fonts are ! ;)

    #945550

    Hi,

    Glad we could help!
    Please take a moment to review our theme and show your support https://themeforest.net/downloads
    To know more about enfold features please check – http://kriesi.at/documentation/enfold/
    Thank you for using Enfold :)

    Best regards,
    Basilis

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Google font is not displayed in the selection menu’ is closed to new replies.