Jump to content

Missing Code

Recommended Posts

I added some code to delete header and footer, but I only wanted to delete it on a few landing pages. Now I can't find it. I'm using the safe configure setting and the header and footer show up again so I know it's in there somewhere. I checked custom 

CSS and code injection and can't find anything. Where did it go?

This is displayed in the upper left of the site

#collection-64187d4edd5538220d43c046 .header{display:} footer{display:}

Link to comment
  • Replies 10
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

On 2/28/2024 at 8:07 PM, drdon23 said:


Thank you! Still struggling with this.

Edit this page > Add a Block > Choose Code

Code Block1 Min

Paste this code

  header#header, footer.sections {
  	display: none !important;


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.