Jump to content

code to hide shopping cart header and footer?

Recommended Posts

1 hour ago, jonkam01 said:

Site URL: https://www.vesturegroupinc.com/cart

I have hidden the header and footer for certain pages however I would like to do the same for the shopping cart page. Can't seem to do that. 

I saw you hid the header already, here  to hide both

body#cart header#header,
body#cart footer {
  display: none;
}

image.thumb.png.863163c78588cd91ec927b8bd79113a6.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
On 2/24/2021 at 9:22 AM, jonkam01 said:

Any way to add a continue shopping button on same page (Shopping cart) page?

Do you still need help on this? We can use some JS code to achieve this.

Also I see this text on top of cart page

image.thumb.png.6d24364845d122902b77a0602c5c3ce2.png

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 3 months later...

I have the same problem and I injected the code but it doen't work for me....

I use Om template on Squarespace 7.0

I already have a code injected to hide the all the footers on specific page wo I don't know it this interferes...

Here is the  code I have yet

 

To hide all footer

<style> .header, footer {
  display: none !important;
  }
  
} </style>  

 

If you could please help me it would be greatly appreciated

Link to comment
On 6/5/2021 at 6:51 PM, Amsterixe said:

I have the same problem and I injected the code but it doen't work for me....

I use Om template on Squarespace 7.0

I already have a code injected to hide the all the footers on specific page wo I don't know it this interferes...

Here is the  code I have yet

 

To hide all footer

<style> .header, footer {
  display: none !important;
  }
  
} </style>  

 

If you could please help me it would be greatly appreciated

Can you share link to your site? We can help easier

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.