Jump to content

Hiding Site Navigation On Certain Pages

Go to solution Solved by MDS,

Recommended Posts

I'm building a password-protected area of a website that will be for on-site use. I would like to hide all the navigation from this area since all the pages will be fixed sizes and loops between a main page and sub-categories. Is there code that can hide the main website's navigation just in this area? I don't need to worry about it adapting to other devices since it will only display on a large touch-screen monitor. I don't need the footer to display either but it's less of a problem. I have attached some draft images to help explain.

Screen Shot 2023-04-18 at 12.20.10 PM.png

Screen Shot 2023-04-18 at 12.23.00 PM.png

Link to comment
  • Replies 5
  • Views 193
  • Created
  • Last Reply

Top Posters In This Topic

Can you share your website URL?

You should be able to hide the navigation on specific pages by adding this to the header code injection on the pages you want to hide it:

<style>
  .header-nav {display:none;}
</style>

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) 

 Did I help? Buy me a coffee?

Link to comment
11 hours ago, MDS said:

Is there also a way to make the navigation space less deep? I don't see a preset option to adjust it.

Yes, it's typically controlled by the logo height and vertical padding in the header:

image.png.98201b3349c014370786e489c5931828.png

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) 

 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.