Tagged: google font
-
AuthorPosts
-
August 22, 2018 at 3:08 am #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, 4 months ago by pouria93.
August 22, 2018 at 1:26 pm #1000301first try to determine where the font comes from!
maybe you can post a link – so we can have a look where it comes fromand 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.
August 22, 2018 at 1:40 pm #1000311and if you see gtmetrix results :
click to enlarge
you see that the results are not so bad
- This reply was modified 6 years, 4 months ago by Guenni007.
August 22, 2018 at 1:49 pm #1000319I 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 usersAugust 22, 2018 at 2:05 pm #1000329i 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, 4 months ago by Guenni007.
August 23, 2018 at 3:51 pm #1000799thanks @Guenni007
Solved.- This reply was modified 6 years, 4 months ago by pouria93.
August 23, 2018 at 8:50 pm #1000936Hi,
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 -
AuthorPosts
- The topic ‘remove google fonts’ is closed to new replies.