Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1000111

    Hi
    How to remove google metrophobic font in wordpress Enfold?
    https://screenshot.net/8884cd9
    This font slows down the site speed, and I do not use it.
    I’ve tested the following plug-ins, but it does not work.

    thanks

    • This topic was modified 6 years, 3 months ago by pouria93.
    #1000301

    first try to determine where the font comes from!
    maybe you can post a link – so we can have a look where it comes from

    and then it might not be that font – because Metrophobic from google only – has only one font-weight (400) and latin only – so this might load very fast.

    #1000311

    and if you see gtmetrix results :
    click to enlarge

    you see that the results are not so bad

    • This reply was modified 6 years, 3 months ago by Guenni007.
    #1000319

    I do not use this font anywhere.
    When I do not use this font, it’s best to not load.
    I do not know where the font is loaded.
    you said: ”so this might load very fast.” yes, maybe, but not always, not for all users

    #1000329

    i can see that enfold uses this font ( register-backend-styles.php ) if you are working on general styling by predefined color schemes ( black or blue/yellow)
    but if you do not have this in a css or in enfold / advanced styling – this should not be loaded.
    Anyway – if all of your fonts are loaded over an own server ( manually socalled) and not by google – you can do this into functions.php of your child-theme:

    add_action( 'init', 'enfold_customization_switch_fonts' );
    function enfold_customization_switch_fonts() {
        global $avia;
        $avia->style->print_extra_output = false;
    }

    on class-style-generator.php you can see the function print_extra_output and that it is for google font loading (line 355)

    to realy get rid of the last rest you can use this plugin: remove-google-fonts-references
    this works still with newest enfold

    • This reply was modified 6 years, 3 months ago by Guenni007.
    #1000799

    thanks @Guenni007
    Solved.

    • This reply was modified 6 years, 3 months ago by pouria93.
    #1000936

    Hi,

    Glad we could help!

    Please take a moment to review our theme and show your support https://themeforest.net/downloads
    Don’t forget to bookmark Enfold Documentation for future reference.

    Thank you for using Enfold :)

    Best regards,
    Basilis

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘remove google fonts’ is closed to new replies.