Jump to content

Hide nav bar on nonlinked page

Go to solution Solved by tuanphan,

Recommended Posts

Posted

Hi --

I'm adding an unlinked page on my site to share with a select group of people. I'd like to not have the nav bar for the rest of the site visible on this page.  Is there a way to add some code that can turn off the nav for this one page?

I found another discussion thread that talked about something similar, but when I tried the steps they suggested, it ended up making the whole page blank and uneditable.  I'm not a code guy so maybe I'm out of my depth here.  Any help would be appreciated. 

Thanks!

J

  • Replies 3
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution
Posted

You can edit that page > Add a Code Block

image

then paste this code into Code Block (hide whole header)

<style>
  header#header {
  	display: none !important;
  }
</style>

or this code (hide navigation items only)

<style>
  header#header nav {
  	display: none !important;
  }
</style>

 

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!)

  • 2 weeks later...

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.