Home › Forums › Support › Hide header and menu on Woocommerce pages This topic has 12 replies, 3 voices, and was last updated 4 years, 9 months ago by Leo. Viewing 13 posts - 1 through 13 (of 13 total) Author Posts August 8, 2017 at 6:40 am #361580 Saskia Hi, I would like to have completelty distraction free Woocommerce pages on my website: Hide the header and (sticky) menubar on the product, cart and payment pages. Would be great if somebody could help me with the correct css for this. My website is: leden.hondenfotograferen.nl Thanks, kind regards Saskia August 8, 2017 at 8:18 am #361634 LeoStaff Customer Support Hi there, Give this a shot: .woocommerce-page .site-header, .woocommerce-page .main-navigation { display: none !important; } Adding CSS: https://docs.generatepress.com/article/adding-css/ Let me know. August 8, 2017 at 8:28 am #361642 Saskia thanks, but header and menubar are still visible any other suggestions? thanks kind regards Saskia August 8, 2017 at 8:36 am #361645 LeoStaff Customer Support Can you link me to a WooCommerce page? August 8, 2017 at 8:38 am #361646 LeoStaff Customer Support Actually I edited the code above: https://generatepress.com/forums/topic/hide-header-and-menu-on-woocommerce-pages/#post-361634 Can you give it another shot and link me to a page where it’s not working? Thanks! August 8, 2017 at 8:44 am #361652 Saskia The header is gone now, great! The menu bar is still there, these are the links thanks!! https://leden.hondenfotograferen.nl/winkelmand/ https://leden.hondenfotograferen.nl/winkelmand/ https://leden.hondenfotograferen.nl/winkelmand/ August 8, 2017 at 8:46 am #361658 LeoStaff Customer Support I thought you only wanted sticky navigation removed? I’ve edited the code above so main navigation and sticky navigation are both removed. August 8, 2017 at 8:56 am #361672 Saskia Yesss perfect! thanks and sorry for the confusion! π me happy kind regards Saskia August 8, 2017 at 9:17 am #361684 LeoStaff Customer Support Glad I could help! July 21, 2019 at 11:21 pm #963820 moderndev Hey, I would like to remove the header on the woocommerce Cart and Checkout. I have tried to add this code, but it seems to remove the header on the my account page. Is there a more specific version that would work only on the cart and checkout? Best, Peter July 22, 2019 at 8:22 am #964238 LeoStaff Customer Support Hi there, You can use the Layout Element to do this now: https://docs.generatepress.com/article/layout-element-overview/ Let me know if this helps π July 22, 2019 at 11:08 am #964393 moderndev Excellent! Thank you July 22, 2019 at 11:17 am #964397 LeoStaff Customer Support No problem π Author Posts Viewing 13 posts - 1 through 13 (of 13 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In