Title: Font awesome hardcoded in css
Last modified: September 17, 2017

---

# Font awesome hardcoded in css

 *  Resolved [phpmaster](https://wordpress.org/support/users/rodekker2017/)
 * (@rodekker2017)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/font-awesome-hardcoded-in-css/)
 * Hi,
 * I’m using a theme with fontawesome included (version 4.7.0). The theme correctly
   uses the wp_enqueue_styles to load the css file. This plugin also loads fontawesome
   version 4.2.0 as a hardcoded link in a css file. As a result the fontfiles are
   loaded twice.
 * I would appreciate an update of the plugin that removes the hardcoded links from
   the css file and use the wp_enqueue_styles in the main php file.
 * This way users can dequeue it easily and fi replace it with a CDN version of 
   fontawesome

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

 *  [Sridhar Katakam](https://wordpress.org/support/users/srikat/)
 * (@srikat)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/font-awesome-hardcoded-in-css/#post-9805505)
 * Any update on this? It would also be useful to have an option to not load Font
   Awesome in the plugin’s settings or make available a filter.
 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/font-awesome-hardcoded-in-css/#post-9806367)
 * The latest version of WooCommerce Menu Cart uses FontAwesome 4.7.0 and loads 
   it in a separate CSS file. 4.7.0 is the newest FontAwesome available, but if 
   you would like to unload it:
 *     ```
       add_action( 'wp_enqueue_scripts', 'wpmenucart_dequeue_fontawesome', 999 );
       function wpmenucart_dequeue_fontawesome() {
       	wp_dequeue_style( 'wpmenucart-fontawesome' );
       }
       ```
   
 * Hope that helps!
    Ewout
 *  [Sridhar Katakam](https://wordpress.org/support/users/srikat/)
 * (@srikat)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/font-awesome-hardcoded-in-css/#post-9807264)
 * Thanks Ewout. That works.

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

The topic ‘Font awesome hardcoded in css’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-menu-bar-cart/assets/icon-256x256.png?rev=2190481)
 * [Menu Cart for WooCommerce](https://wordpress.org/plugins/woocommerce-menu-bar-cart/)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-menu-bar-cart/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-menu-bar-cart/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-menu-bar-cart/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-menu-bar-cart/reviews/)

## Tags

 * [dequeue](https://wordpress.org/support/topic-tag/dequeue/)
 * [FontAwesome](https://wordpress.org/support/topic-tag/fontawesome/)
 * [WooCommerce Menu Cart](https://wordpress.org/support/topic-tag/woocommerce-menu-cart/)

 * 3 replies
 * 3 participants
 * Last reply from: [Sridhar Katakam](https://wordpress.org/support/users/srikat/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/font-awesome-hardcoded-in-css/#post-9807264)
 * Status: resolved