I have created a child theme and have placed the following code in my child themes PHP file but the Google font won’t show up in any of the dropdown within the theme?
add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
function avia_add_heading_font($fonts)
{
$fonts[‘Abril Fatface’] = ‘Abril Fatface’;
return $fonts;
}
add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
function avia_add_content_font($fonts)
{
$fonts[‘Abril Fatface’] = ‘Abril Fatface’;
return $fonts;
}
I just realized that you guys have added a “Editor” to the theme where I am suppose to modify my PHP and Styles. I was making these changes via Dreamweaver and the server files but now that I put the code in the “Editor” it works fine.
Hi,
Glad that you figured it out. Just let us know if you need more assistance. :)
Best regards,
Nikko