Home › Forums › Support › Need help disabling Elements on Product Category page This topic has 10 replies, 2 voices, and was last updated 5 years, 10 months ago by Shaun. Viewing 11 posts - 1 through 11 (of 11 total) Author Posts May 28, 2018 at 11:13 am #586463 Shaun Hi Tom and Leo, Is there any CSS code I can use to disable the Site Header on my Product Category pages, e.g. https://swordsandstationery.com/product-category/uncategorized/ ? Many thanks in advance! P.S. Would be great too if there’s a way to disable it on the Checkout, Cart, and other similar pages. May 28, 2018 at 12:41 pm #586520 DavidStaff Customer Support Hi Shaun, you can try this CSS to remove from Product Categories, Cart, Checkout and account: .tax-product_cat .site-header, .woocommerce-cart .site-header, .woocommerce-checkout .site-header, .woocommerce-account .site-header { display: none; } May 28, 2018 at 1:08 pm #586544 Shaun Thanks David, that works! Can you also help me with this page? https://swordsandstationery.com/checkout-2/ On a similar note, how do I know what the .class of a page is? I tried to view source but I can’t seem to find the .class of the checkout-2 page. May 28, 2018 at 1:22 pm #586551 DavidStaff Customer Support Looks like a JS page, so can try targeting its specific page id, not sure if that will change. .page-id-13866 if so then: .woocommerce-js Inspect the page and look at the body element all the classes are in there. May 28, 2018 at 5:29 pm #586652 Shaun Yeah it works! Thank you! ๐ One last thing (sorry to be a bother), but how do I disable the sidebar? May 29, 2018 at 4:31 am #586914 DavidStaff Customer Support Hi Shaun you can disable sidebars on Woo archives and Woo product pages from the Customiser > Layout > Woocommerce May 29, 2018 at 4:33 am #586918 Shaun It doesn’t work on the Checkout-2 page though. Can I do it via CSS? Or, even better, can I disable it globally? May 29, 2018 at 5:22 am #586945 DavidStaff Customer Support Hi Shaun, If you want the sidebar removed globally across the site, you can do this from the Customiser > Layout > Sidebars. Let me know May 29, 2018 at 5:32 pm #587485 Shaun Whoop! Disabled sidebars completely. Thanks so much David! P.S. I have a few upcoming questions relating to WooCommerce and Elementor. Should I start a new thread for each of them, or should I consolidate them into one single thread? May 30, 2018 at 2:05 am #587662 DavidStaff Customer Support Glad to be of help Shaun We prefer a new topic for a new subject. May 30, 2018 at 4:34 am #587740 Shaun Cool thanks ๐ Author Posts Viewing 11 posts - 1 through 11 (of 11 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In