Home » WooCommerce: Disable Default WooCommerce CSS

WooCommerce: Disable Default WooCommerce CSS

by Tutor Aspire

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-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 tutoraspire.com FREE
 * @author        Tutor Aspire
 * @compatible    WooCommerce 3.6.4
 * @donate $9     https://www.tutoraspire.com
*/

add_filter( 'woocommerce_enqueue_styles', '__return_empty_array' );

You may also like