@buttinoni I checked your website and GTmetrix report. Now, there’s no option in Asset CleanUp that would prevent this particular font from loading. You can unload the CSS file that loads the font. However, your website does load FontAwesome icons, so you have to be careful if you decided to do that. You can unload /wp-content/plugins/elementor/assets/lib/font-awesome/css/solid.min.css and properly test the homepage. There’s a chance it will work well and the “solid” version of these icons is not needed at all.
Is there a reason you wish to have this font unloaded? It might be needed in some instances in some of your pages.
It’s an interesting idea to actually reove font file references from certain files to optimize the pages. However, due to the fact that this is not such a requested feature, it wasn’t prioritized over more important ones.
Same problem here. I hostet FontAwesome locally and turned off all elementor css sheets located in /wp-content/plugins/elementor/assets/lib/font-awesome/css/…
This is working fine, stylesheets are not loading.
But the fonts are still loading. Gtmetrix still finds: https://deifyrqgx77mr.cloudfront.net/wp-content/plugins/elementor/assets/lib/font-awesome/webfonts/fa-solid-900.woff2
Any ideas how to solve this?
I actually tried to insert different snippets in functions.php but nothing works.
-
This reply was modified 5 years, 1 month ago by
leapw.