Jump to content

header hidden, want to revert, but how?

Recommended Posts

I hid my header using the code below in the "page header injection" section of advanced on my main page. However, now I want the header back, and I don't know how to "delete" said code, or if I need to inject another code prompt. I'm concerned about injecting any additional code with my limited knowledge before checking... Anyone know how to do this?

Here's the code prompt I used:

<style> .Header { display: none; } </style>

Link to comment
  • Replies 3
  • Views 903
  • Created
  • Last Reply

Top Posters In This Topic

Hey Jay,
All you need to do is hop back into the advanced page settings and remove your code.

CSS can only change the style of a Squarespace site (cascading style sheet) and not the way it works, so if you don't like what a code is doing, all you have to do is remove it!

When you're ready to learn more, I have a free class on CSS basics for Squarespace that you can check out here: https://insidethesquare.co/learn

🤓 Creator of InsideTheSquare.co

🗺️ New to Squarespace? Get your free roadmap: insidethesquare.co/roadmap
🙋‍♀️ New to CSS? Learn the basics for free: insidethesquare.co/learn
️ Ready to go pro? Get my custom code collection: insidethesquare.co/css




Link to comment
  • 11 months later...
On 4/12/2023 at 3:51 PM, inside_the_square said:

if you don't like what a code is doing, all you have to do is remove it!

I'm having issues with this. I removed the code yet don't get my header back, Hmmm?

Link to comment
2 hours ago, HappyBiz said:

I'm having issues with this. I removed the code yet don't get my header back

Please post the URL for a page on your site where we can see your issue. For us to see the URL you need to include the link in the content of your post. The URL field the forum software provides is not shown to us.

A link to the backend of the your site won’t work for us, i.e. a URL that contains /config/.

Please set up a site-wide password, if your site is not public and you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site.

Please read the site-wide password and how to share a link documentation to understand how they work.

You may find How to post a forum question post useful.

We can then take a look at your issue.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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.