Archived topic
Lots of Google Fonts loaded which aren't used (anymore)
3 replies · Started by Yoeri on December 12, 2020
Hello! :)
I already searched for other topics and find similar errors but didn't find the solution myself. On my website different Google Fonts are loaded: the ones I use now but also fonts which are used in the past.
Since I'm optimizing the website for speed I'm curious how to disable the fonts loading which I'm not using anymore.
I've also read that some plugins load the fonts but I can not find which ones, maybe you have some cool developer trick to find out? :)
Thank you in advance and looking forward to your response.
Hi there,
can you check the Customizer > Typography settings to make sure none of those old fonts are still being requested.
In customizer none of the other fonts are selected, double checked it. Now different fonts are loading and I do not know how or where they come from.
Robot Slab for example is never used and is now loading.
Maybe plugins are loading them but I don't know how to find out.
The themes CSS is loading Raleway for the Headings and Body which would be selected in the Customizer. If you want you can remove the unused variants ( font weights ) - by removing those tags in the typography settings - see here:
https://docs.generatepress.com/article/google-font-variants/