Title: Disable CSS for custom theme
Last modified: November 8, 2016

---

# Disable CSS for custom theme

 *  Resolved [Rick Bleakley](https://wordpress.org/support/users/rickblackdog/)
 * (@rickblackdog)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/disable-css-for-custom-theme/)
 * Hi, I’m a theme dev, just trying out Jigoshop2 on my localhost. Used to be an
   option to disable CSS, doesn’t seem to be in v2. Can you point me to the docs
   or new theming guide for v2?

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

 *  Plugin Author [Jigoshop Support – Marcin](https://wordpress.org/support/users/azrielnefezen/)
 * (@azrielnefezen)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/disable-css-for-custom-theme/#post-8410143)
 * Simply add
    Styles::remove([style_hook]); To your theme’s functions.php Hooks:
   jigoshop.shop – all shop pages jigoshop.user.account – all account pages
    -  This reply was modified 9 years, 7 months ago by [Jigoshop Support - Marcin](https://wordpress.org/support/users/azrielnefezen/).
 *  Thread Starter [Rick Bleakley](https://wordpress.org/support/users/rickblackdog/)
 * (@rickblackdog)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/disable-css-for-custom-theme/#post-8642073)
 * Sorry not having much joy here – tried this but not working?
 *     ```
       //REMOVE JIGOSHOP CSS
   
       add_action('wp_head','jigo_remove_action', 1);
   
       function jigo_remove_action() {
         remove_action('wp_head', 'jigoshop.shop');
       }
   
       remove_action('jigoshop.shop', 10);
       ```
   
    -  This reply was modified 9 years, 5 months ago by [Rick Bleakley](https://wordpress.org/support/users/rickblackdog/).
 *  [Flamekebab](https://wordpress.org/support/users/flamekebab/)
 * (@flamekebab)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/disable-css-for-custom-theme/#post-9066057)
 * I’ve just performed the upgrade and I’m having the same problem. How do I disable
   JigoShop’s built-in CSS?
 * Adding:
    `Styles::remove([style_hook]);`
 * to the end of my theme’s functions.php just breaks the entire site:
 * `Fatal error: Uncaught Error: Class 'Styles' not found in /var/www/foxbox/wp-
   content/themes/easel/functions.php on line 427`
    ⌊PHP7.1 screenshot⌉
 * Similarly I don’t understand what this part of the suggested solution means:
 * > Hooks:
   >  jigoshop.shop – all shop pages jigoshop.user.account – all account 
   > pages
 * Did you solve the problem in the end [@rickblackdog](https://wordpress.org/support/users/rickblackdog/)?

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

The topic ‘Disable CSS for custom theme’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/jigoshop_655549.svg)
 * [Jigoshop](https://wordpress.org/plugins/jigoshop/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jigoshop/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jigoshop/)
 * [Active Topics](https://wordpress.org/support/plugin/jigoshop/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jigoshop/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jigoshop/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Flamekebab](https://wordpress.org/support/users/flamekebab/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/disable-css-for-custom-theme/#post-9066057)
 * Status: resolved