Jump to content

Can I hide my top menu navigation?

Go to solution Solved by paul2009,

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution

If you only want to hide the navigation only, you can add this to Design > Custom CSS:

.homepage .header-layout-nav-right .header-nav {
  display: none;
}

If you want to hide the cart and login buttons as well, you'd use this instead:

.homepage .header-layout-nav-right .header-nav, .homepage .header-layout-nav-right .header-actions {
  display: none;
}

For the benefit of others who read this post:

  • This snippet is for Squarespace 7.1 only, when the site is configured with the header navigation in the top right.
  • It applies to the homepage only, because the ".homepage" class has been used.

 

About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.
Improve your online store with our extensions.

Link to comment
18 hours ago, paul2009 said:

If you only want to hide the navigation only, you can add this to Design > Custom CSS:


.homepage .header-layout-nav-right .header-nav {
  display: none;
}

If you want to hide the cart and login buttons as well, you'd use this instead:


.homepage .header-layout-nav-right .header-nav, .homepage .header-layout-nav-right .header-actions {
  display: none;
}

For the benefit of others who read this post:

  • This snippet is for Squarespace 7.1 only, when the site is configured with the header navigation in the top right.
  • It applies to the homepage only, because the ".homepage" class has been used.

 

I'm trying to do the same thing, but to a "not linked" page - I'm not sure what class to use in order for this to affect the page. My page is called One Sheet.

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.