Title: Remove FontAwesome loading All.CSS
Last modified: April 14, 2020

---

# Remove FontAwesome loading All.CSS

 *  [mh811](https://wordpress.org/support/users/mh811/)
 * (@mh811)
 * [6 years ago](https://wordpress.org/support/topic/remove-fontawesome-loading-all-css/)
 * Hi there,
 * How can I stop Font Awesome being used on my site?
 * From what I can tell, my site isn’t using Font Awesome. I’m not using the FA 
   Brands for social icons and have replaced the shopping cart icon (FA Solid 900)
   with an icon image I’m hosting via the site.
 * Using the Asset CleanUp plugin, I’ve unloaded Font Awesome site wide and have
   added the below code to functions.php.
 * However, when running a GT Metrix speed test and other speed tests, the site 
   still calls on Font Awesome for the All.Css ([https://use.fontawesome.com/releases/v5.5.0/css/all.css](https://use.fontawesome.com/releases/v5.5.0/css/all.css))
 * I don’t want to use Font Awesome, because it is slowing down my site load speed.
 * Any support and tips would be greatly appreciated.
 * **Code added to Functions.php**
 *     ```
       //* TN Dequeue Styles - Remove Font Awesome from WordPress theme
       add_action( 'wp_print_styles', 'tn_dequeue_font_awesome_style' );
       function tn_dequeue_font_awesome_style() {
             wp_dequeue_style( 'fontawesome' );
             wp_deregister_style( 'fontawesome' );
       }
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fremove-fontawesome-loading-all-css%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Senff – a11n](https://wordpress.org/support/users/senff/)
 * (@senff)
 * [6 years ago](https://wordpress.org/support/topic/remove-fontawesome-loading-all-css/#post-12675223)
 * There are a few places where Fontawesome content is being called, but for a default
   Storefront setup, any of those fonts are on your server already — in other words,
   Storefront won’t make any calls to any content on fontawesome.com.
 * Looking at your site, it’s likely that another plugin is making the call to tha**
   all.css** file. Here’s what I see:
 * `....if(document.querySelector(".fa,.fas,.fab,.far")){CaxtonUtils.asset("//use.
   fontawesome.com/releases/v5.5.0/css/all.css")}CaxtonUtils.watchScroll(".cxp-scroll",....`
 * Based on that, it looks like the [Caxton](https://wordpress.org/plugins/caxton/)
   plugin you have installed is making that call, so it’s best to reach out to their
   [support team](https://wordpress.org/support/plugin/caxton/) directly to see 
   if it’s possible to avoid that.
 *  Thread Starter [mh811](https://wordpress.org/support/users/mh811/)
 * (@mh811)
 * [6 years ago](https://wordpress.org/support/topic/remove-fontawesome-loading-all-css/#post-12675253)
 * Thanks [@senff](https://wordpress.org/support/users/senff/), I’ll reach out to
   them.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Remove FontAwesome loading All.CSS’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/storefront/4.6.2/screenshot.png)
 * Storefront
 * [Support Threads](https://wordpress.org/support/theme/storefront/)
 * [Active Topics](https://wordpress.org/support/theme/storefront/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/storefront/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/storefront/reviews/)

## Tags

 * [FontAwesome](https://wordpress.org/support/topic-tag/fontawesome/)
 * [site speed](https://wordpress.org/support/topic-tag/site-speed/)

 * 2 replies
 * 2 participants
 * Last reply from: [mh811](https://wordpress.org/support/users/mh811/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/remove-fontawesome-loading-all-css/#post-12675253)
 * Status: not resolved