There are times when you really want to do things right, you have a 5-figures budget and all the time in this world: you might want to override the whole WooCommerce CSS by disabling it completely, and applying your custom styles instead.

Despite this is an unusual task, I’ve researched the topic and here are my findings. Enjoy!

woocommerce-disable-default-css-stylesheetwoocommerce-disable-default-css-stylesheet
This is what happens if you disable WooCommerce CSS

PHP Snippet: Disable WooCommerce Default CSS

Once upon a time there was a super handy checkbox in the WooCommerce settings for disabling CSS. Now, there is a 1-line snippet instead 🙂

/**
 * @snippet       WooCommerce Disable Default CSS
 * @how-to        Get CustomizeWoo.com FREE
 * @author        Rodolfo Melogli
 * @compatible    WooCommerce 3.6.4
 * @donate $9     https://businessbloomer.com/bloomer-armada/
*/

add_filter( 'woocommerce_enqueue_styles', '__return_empty_array' );
Share:

Leave a Reply