Home › Forums › Jevelin Theme › Hiding Woocommerce Cart on all pages except shop/products/etc
Home › Forums › Jevelin Theme › Hiding Woocommerce Cart on all pages except shop/products/etc
How can I hide the Woocommerce Cart on all pages except shop/products/etc.
Currently it is beside all the social media icons in the top right.
Thanks
Hi @supporttester,
I hope you are well today and thank you for your question.
You can achieve it by adding the following CSS code in the Custom CSS code option of your theme on the below path.
Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code
body:not(.post-type-archive-product):not(.single-product) .sh-nav li.menu-item.sh-nav-cart.sh-nav-special { display: none; }
Best regards,
Shufflehound team