Advertisement

Remove All WooCommerce CSS

WooCommerce is great if you want to grab a theme, add a shop and get going. However, if you’re developing a theme that has shop functionality, you’ll be wanting to remove the default WooCommerce CSS.

This has a few benefits, the main one being you won’t run into any conflicts with your own stlyes. It also means you have total control over the styling of the entire shop part of the website, therefore you can make it look however you wish.

Here’s how you can remove all WooCommerce CSS in WordPress:

//---- Remove WooCommerce CSS
add_filter('woocommerce_enqueue_styles', '__return_empty_array');

Advertisement

Web designer and developer from Southampton, UK.


Comments are closed for this post.

Advertisement

Inspirational Newsletter

Join the newsletter to get the best articles, tutorials and exclusive freebies every two weeks.

No spam. You can unsubscribe at any time.