Blog

Shopping Cart
Scroll to Top
function disable_woo_css_except_shop() { if( ! is_woocommerce() && ! is_cart() && ! is_checkout() && ! is_shop() ) { wp_dequeue_style('woocommerce-general'); wp_dequeue_style('woocommerce-layout'); wp_dequeue_style('woocommerce-smallscreen'); } } add_action('wp_enqueue_scripts', 'disable_woo_css_except_shop', 99);