Jump to content

How to Hide Header and Footer on Cart Page

Recommended Posts

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

1 hour ago, rodri333 said:

Site URL: https://can-do-canines-puppyprogram.squarespace.com/fall-tshirt-campaign

Site Password: Testing 

I have Squarespace 7.0 site and want to hide the Header and Footer on the Shopping Cart page. What would the code be to do this? 


Have your issue been solved yet?


Edited by bangank36

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

@rodri333 Add to Design > Custom CSS

/* hide header footer on cart page */
body#cart {
header, div#mobileMenuLink, div#mobileNav, footer#footer, .info-footer-wrapper.clear {
    display: none !important;


Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
1 minute ago, rodri333 said:

There is a link currently showing if nothing is in the cart. 

Yes, that's correct. If someone arrives in an empty cart, a link is added to help return them to your store. However, if there are items in the cart, Squarespace don't add this link. Even if they did, it wouldn't be ideally placed or styled.

We've been working on improvements to the cart page, to give merchants an optimal user experience, with our Cart UX extension. The first of these improvements is to add a clear 'Continue Shopping' call-to-action, right beside the Checkout button, on desktop and mobile. Other improvements are in the pipeline. 🤫


Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • 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.