Jump to content

how to remove header and footer from a page

Recommended Posts

  • Replies 7
  • Views 1.9k
  • Created
  • Last Reply

Top Posters In This Topic

Can you share your website URL?

Are you wanting to remove the header and footer site-wide or just for an individual page? Do you have a personal or business plan on Squarespace?

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!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Add this to Custom CSS:

#collection-63b438ea5f6d412cfa2fd266 {
  .header .header-announcement-bar-wrapper, #footer-sections {
    display:none;
  }
}

 

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!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Website -> Website Tools -> Custom CSS

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!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment
  • 1 month later...

I have placed this code - <style>.header, #footer-sections {display:none!important;}</style>

(and tried a few different ones) <style>
.header, #footer-sections {
display:none !important; 
}
</style>

and keep seeing this on the top of my website - google.com, pub-1664380163397948, DIRECT, f08c47fec0942fa0

 

any ideas on how to fix this? 

 

 

Screenshot 2024-04-07 at 22.22.04.png

Link to comment
On 4/8/2024 at 12:22 PM, santabarbarawedding said:

I have placed this code - <style>.header, #footer-sections {display:none!important;}</style>

(and tried a few different ones) <style>
.header, #footer-sections {
display:none !important; 
}
</style>

and keep seeing this on the top of my website - google.com, pub-1664380163397948, DIRECT, f08c47fec0942fa0

 

any ideas on how to fix this? 

 

 

Screenshot 2024-04-07 at 22.22.04.png

Can you send all current code in Code Injection (Website > Website Tools > Code Injection)

and Join Our Community Page Header Code Injection?

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.