Hi,
I am trying to add a Google font (Caveat Brush), using the following code from the FAQ:
add_filter( 'avf_google_heading_font', 'avia_add_heading_font');
function avia_add_heading_font($fonts)
{
$fonts['Caveat Brush'] = 'Caveat+Brush';
return $fonts;
}
add_filter( 'avf_google_content_font', 'avia_add_content_font');
function avia_add_content_font($fonts)
{
$fonts['Caveat Brush'] = 'Caveat+Brush';
return $fonts;
}
I also tried it without the + but it does not show up in my fonts list.
Any ideas what I am doing wrong?
Thanks in advance
Hey Artiarturro_66,
I can see the font in both lists, it’s being added at the very end of each list.
Regards,
Rikard
Hi Rikard,
how embarrassing! Because there is also a font named “Caveat” I was looking for “Caveat Brush” only right above and below that.
Thank you very much!
Arti
Hi,
Glad we could help!
We really appreciate it if you rate our theme on themeforest .
To know more about enfold features please check – http://kriesi.at/documentation/enfold/
Thank you for using Enfold :)
Best regards,
Vinay