Hey guys,
Followed this instruction https://kriesi.at/support/topic/need-to-use-all-weights-of-the-open-sans-font-e-g-bold800/ to attempt to make more font weight options for open sans. Instead I am now getting
Fatal error: Call to undefined function avia_header_setting() in /home/codeless/public_html/bunnndle.com/wp-content/themes/enfold/header.php on line 7
Copied the code exactly.
P.S – the site is bunnndle.com I can access the dashboard but not the front end? I have since removed the code mentioned above…no luck.
Hey David!
Please post the code that you use here. Go to Enfold > Header, change the Header Type then change it back. Save changes.
Regards,
Ismael
I originally used
add_filter( 'avf_google_content_font', 'avia_add_content_font');
function avia_add_content_font($fonts)
{
$fonts['Open Sans'] = 'Open Sans:400,600,800';
return $fonts;
}
But according to the post mentioned above, dude had it posted twice? So when I added it twice, as directed, it gave the error. I am just trying to set my font weight to 700
Also – changed header type and no difference. Still getting error
Have now tried replacing header.php with header.php directly from themefiles I just grabbed from Themeforest…still not working.
Fixed it. Had to delete the theme altogether and re-install it. Might want to look into this. There is another thread where someone added something to functions.php and got the same frustrating result.
Hi!
Glad it works now.
Best regards,
Peter