Love the theme and never had any problems. My client wants to use the Google Font “Limelight” for one particular heading.
I have searched the comments and found a solution. However when I copy the code given into functions.php I get the dreaded white screen. I am using 3.8 and a child theme.
Any help would be much appreciated.
Sorry. Done it now
Hey!
Sorry but functions.php file is not writable in Appearance > Editor. Please makes it writeable, send us FTP logins or add following code to wp-content/themes/enfold-child/functions.php file
add_filter( 'avf_google_heading_font', 'avia_add_heading_font_new');
function avia_add_heading_font_new($fonts)
{
$fonts['Limelight'] = 'Limelight:400';
return $fonts;
}
add_filter( 'avf_google_content_font', 'avia_add_content_font_new');
function avia_add_content_font_new($fonts)
{
$fonts['Limelight'] = 'Limelight:400';
return $fonts;
}
Cheers!
Yigit
Hi Yigit
Have added as sugested and work as treat. Thank you.
Super fast support!
Hoey
Hey!
You are welcome!
For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)
Regards,
Yigit