Tagged: woocommerce
Hi,
I installed the enfold travel demo, prior I activated woocommerce and in the process of customizing it all of the sudden the woocommerce css overwrites the theme css. Now I found a soltuion post by woocommerce: https://docs.woocommerce.com/document/disable-the-default-stylesheet/
I tried to insert the snippet: add_filter( ‘woocommerce_enqueue_styles’, ‘__return_empty_array’ );
into the function.php, but it didn’t work .
I am lost and I spend hours trying to fix this. Can you please tell me where exactely I need to insert the snippet, or how can I disable the woocommerce css?
Thx
Julian
Hey jawer,
Please try adding this code to the end of your functions.php file in Appearance > Editor:
add_filter( 'woocommerce_enqueue_styles', '__return_false' );
Please clear your cache :)
Best regards,
Mike