Tagged: , ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #912799

    Hello to all,

    I would like to know how to disable Google Fonts?
    I don’t want to load more scripts then is necessary and I am using ‘web safe’ fonts.
    Is there any magic code for function.php please?

    Also I would like to disable entypo-fontello, it will save 232 kb.

    Thanks!
    Milan

    • This topic was modified 6 years, 10 months ago by Milan.
    #912865

    Hey Milan,

    Have you attempted to add the following to functions.php:

    //remove google fonts
    
    add_action( ‘init’, ‘enfold_customization_switch_fonts’ );
    function enfold_customization_switch_fonts() {
    global $avia;
    $avia->style->print_extra_output = false;
    }

    Best regards,
    Jordan Shannon

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.