Tagged: Arabic, enfold, google font
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
Hello, did you have a chance to look at it?
Thanks