Tagged: google font
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.
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
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.
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
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
and your screenshot does not show the bottom of the list – where the newly added fonts are ! ;)
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