Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1350203

    I want in some themes not loading all the google fonts vom enfold theme.
    i found this in the forum
    add_action( ‘init’, ‘enfold_customization_switch_fonts’ );
    function enfold_customization_switch_fonts() {
    global $avia;
    $avia->style->print_extra_output = false;
    }

    add_filter( ‘avf_output_google_webfonts_script’, ‘my_output_google_webfonts_script’, 10, 1 );

    function my_output_google_webfonts_script( $activate )
    {
    return false;
    }
    but nothing works.
    sometime is use only standard fonts. and without loading the fonts the pahespeed is better (google page speed)

    • This topic was modified 2 years, 7 months ago by Ismael.
    • This topic was modified 2 years ago by Yigit.
    #1350394

    Hey Christian,

    Thank you for the inquiry.

    Have you tried selecting a websafe font in the Enfold > General Styling > Fonts panel? Look for the Heading Font and Body Text dropdown and select one of the websafe or a non-google fonts.

    Best regards,
    Ismael

    #1350396

    Yes. I have select a websafe webfont : Arial for Heading and Body.

    #1350398

    i found it. my mistale. I have activated the layer slider…. No i have deactivate and it works.

    #1350405

    Hey!

    Great! Glad to know that you have found the cause of the issue. Please feel free to open a different thread if you have more questions regarding the theme.

    Have a nice day.

    Best regards,
    Ismael

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Google Fonts’ is closed to new replies.