Disable the default stylesheet

This is a Developer level doc. If you are unfamiliar with code/templates and resolving potential conflicts, select a WooExpert or Developer for assistance. We are unable to provide support for customizations under our  Support Policy.

You need to add code to your child theme’s functions.php file or via a plugin that allows custom functions to be added, such as the Code snippets plugin. Please don’t add custom code directly to your parent theme’s functions.php file as this will be wiped entirely when you update the theme.

Disable all stylesheets ↑ Back to top

WooCommerce enqueues 3 stylesheets by default. You can disable them all with the following snippet:

This is the recommended process if you’re building a custom theme. Removing the default WooCommerce stylesheet and enqueuing your own will protect you during WooCommerce core updates.

Disable specific stylesheets ↑ Back to top

If you want to disable specific stylesheets (i.e, if you do not want to include the handheld stylesheet), you can use the following:

Then enqueue your own stylesheet like so:

WooCommerce - the most customizable eCommerce platform for building your online business.

Back to the top