Jump to content

Removing the white space left when a header and footer are removed.

Recommended Posts

https://bamboo-rabbit-99gt.squarespace.com/config/pages

pw: !(cX3Ly@$323cC(

Hello,

I'm trying to remove the header and footers from a couple of not linked pages (Links and 404). 

I've been able to remove them by using this code injection:
 

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

 

but I'm then left with a white space at the bottom of the page because it isn't very long. I've tried a few different options that I've found on the forum that have worked for others but I'm not having much luck.

I'd like to remove the space from both desktop and mobile view.

Can anyone help with this please?

Link to comment
  • Replies 2
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

I've looked on your 404 page, but I can't see any white space.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️ Gallery Lightbox Plugin (Referral link) 

 Did I help? 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.