• Resolved sarosuf

    (@lubimow)


    After installing the latest version of WooCommerce, there was a conflict with the theme of the site. The sizes of some columns have changed, the styles of messages have changed.
    How to disable WooCommerce styles? What to do in this situation?

Viewing 2 replies - 1 through 2 (of 2 total)
  • isodos

    (@isodos)

    You can add custom code to your theme’s functions.php file to disable WooCommerce styles. Insert the following code:

    add_filter( 'woocommerce_enqueue_styles', '__return_false' );
    
    Afzal (woo-hc)

    (@afzalpansuvi)

    Hi @lubimow,

    Thank you for contacting WooCommerce Plugin Support. I understand you are experiencing a conflict with the theme styles after updating WooCommerce. One possible solution is to disable the default stylesheet of WooCommerce, which will allow you to use your own custom CSS or the theme’s CSS for the WooCommerce elements. You can do this by following the instructions in this document.

    However, please note that this may affect the appearance and functionality of some WooCommerce features, such as the cart, checkout, and account pages. Therefore, I recommend that you test this on a staging site first, and make sure you have a backup of your site before making any changes.

    Alternatively, you can try to resolve the conflict by using a different theme that is compatible with WooCommerce, or by contacting the theme developer and asking them to update their theme to work with the latest version of WooCommerce.

    Let us know if there’s anything else we can help you with.

    Have a great day! 😊

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Conflict with theme styles’ is closed to new replies.