Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #179472

    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.

    #179486

    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.

    #179490

    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

    #179491

    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

    #179492

    Also – changed header type and no difference. Still getting error

    #179498

    Have now tried replacing header.php with header.php directly from themefiles I just grabbed from Themeforest…still not working.

    #179499

    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.

    #179636

    Hi!

    Glad it works now.

    Best regards,
    Peter

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Enfold > fatal error’ is closed to new replies.