Tagged: google font
-
AuthorPosts
-
April 20, 2018 at 1:55 pm #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 7 years, 6 months ago by
eternal_darkness_4444.
April 20, 2018 at 4:25 pm #944618on 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 insertedApril 20, 2018 at 4:51 pm #944633Thanks. 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.
-
This reply was modified 7 years, 6 months ago by
eternal_darkness_4444.
April 21, 2018 at 7:46 am #944824Hi 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,
RikardApril 21, 2018 at 9:15 am #944851Hi 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 7 years, 6 months ago by
eternal_darkness_4444.
April 21, 2018 at 8:00 pm #944961and your screenshot does not show the bottom of the list – where the newly added fonts are ! ;)
April 23, 2018 at 8:37 pm #945550Hi,
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 -
This topic was modified 7 years, 6 months ago by
-
AuthorPosts
- The topic ‘Google font is not displayed in the selection menu’ is closed to new replies.

