W
W
WebforSelf2021-03-15 14:36:50
WooCommerce
WebforSelf, 2021-03-15 14:36:50

Is it correct to completely get rid of the default woocommerce.css?

The woocomerce plugin has woocommerce.css
You can, of course, include your file and override styles. But it's a little annoying that that layout is on
float. Although now it is much more practical to use flex.

Accordingly, how correct is it to completely disable woocommerce.css in the plugin, and create your own and completely write styles from scratch? what will be the consequences of the next update?

No one has woocommerce.css for example under bootstrap 4?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pychev Anatoly, 2021-03-15
@pton

You are free to do as you wish.
For example, if you create a theme template with _underscores , then it has code that completely disables all woo styles

add_action( 'wp', function () {
    add_filter( 'woocommerce_enqueue_styles', '__return_empty_array' );
} );

What are the problems with the update? When (if) a new message is added, it will not be styled.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question