Jump to content

Shopping cart in 7.1, how do I delete the navigation bar?

Recommended Posts

Could anyone tell me how to delete the navigation bar in the cart? I'm using 7.1.

I have multiple navigation headers because I have two ceramic brands. Some are hidden depending on what part of the site you are on. This is working well thanks to using code found on this forum. So thanks to all you experts helping newbies tweak their websites. I now just need a simplified cart without all the navigation headers.

I have seen this question before but the code I tried hasn't worked even with a few modifications. 

Any help gratefully received. Thanks again!

Link to comment
  • 2 weeks later...
  • Replies 3
  • Views 279
  • Created
  • Last Reply

Amazing thank you Tuanphan

Any chance you could share the code to get rid of the logo too? 

For other users the code to hide the navigation bar was...

/* Hide cart page navigation */
body#cart .header-nav {
    visibility: hidden;
}
body#cart .burger-box {
    visibility: hidden;
}

Link to comment

I've found the answer from another post you have answered from someone else. You really are fabulous Tuhanpahan! Thank you. 

Code for others is... (I only needed the header so deleted the footer bit)

body#cart header#header {
    display: none;
}
body#cart footer#footer {
    display: none;
}
Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.