How to prevent from woocommerce css over rides template css file? -
as see in following pictureenter image description here.
woocomerce css styles has magically on ride template css (after using yith tab manager permiume (disabling doesn't help). can see disable styles woocomerce.css prove that, y template style still there. how can prevent issue ? here website link page amatistrading.
i used code in functions.php of template didn't work:
:// disable woocommerce's default stylesheets function disable_woocommerce_default_css( $styles ) { // disable stylesheets below via unset(): unset( $styles['woocommerce-general'] ); // styling of buttons, dropdowns, etc. // unset( $styles['woocommerce-layout'] ); // layout columns, positioning. // unset( $styles['woocommerce-smallscreen'] ); // responsive design mobile devices. return $styles; } add_action('woocommerce_enqueue_styles', 'disable_woocommerce_default_css');
i couldnt use code(in main comment) found way solve problem. ( put right code if find any),first can delete stylesheet content, or act me: disable plugins(every single plugin) try replace woocommerce files orginal, re active plugins, method worked me, seems changing woocommerce files made problem.
Comments
Post a Comment