• hi,
    when i do gtmetrix, i see 3 fonts installed in woff2 format ad 1 in woff.
    How can I prevent them from loading?
    es wp-content/plugins/elementor/assets/lib/font-awesome/webfonts/fa-solid-900.woff2
    would anyone give me other advice on how to improve my performance on gtmetrix (55)
    I’m not an expert!

    thanks

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Gabe Livan

    (@gabelivan)

    @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 3 years, 11 months ago by leapw.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘remove local font’ is closed to new replies.