Site logo

Archived topic

How to disable fontawesome-webfont.woff2 since I am using non-google fonts

7 replies · Started by Dilip on March 30, 2016

Viewing posts 1–8 of 8

So I noticed fontawesome-webfont.woff2 is heavy on my page load time despite the fact that I am using non-Google font

How do I disable this intereference?

Font Awesome and Google Fonts aren't the same thing.

Font Awesome is being used throughout the site for things like the dropdown arrow, icons in your blog posts, back to top button, mobile menu toggle icon etc..

You can remove it, but you'll have to add alternatives for all of those icons.

Let me know :)

I also ask for this information because of the same reason.

Thanks for the code Tom

I found I had to change the 'fontawesome' to 'font-awesome' to make the code work.

wp_dequeue_style( 'font-awesome' );

You can actually just go to "Customize > General" and turn on the essential icons now. That will remove Font Awesome automatically.

Thanks for that info - it will be useful on other projects

For this project I have something else that is loading the full font Awesome library, so I don't need GP to load even the "essential" icons.

Your code snippet works fine once I got the 'font-awesome' name right

Awesome :)

This archived topic is closed to new replies.