Jump to content

hiding part of the Navigation buttons but not all

Recommended Posts

Add the following example code to Store Settings > Advanced > Page Header Code Injection for the store page. Please see per-page code injection.

<style>

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

Let us know how it goes.

Edited by creedon

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
4 hours ago, amandacoccaro said:

but it is still showing my main navigation

I assumed you were on v7.1. You are on v7.0 using the Brine template family which requires different code.

<style>

  .ancillary-header-primary-nav-position-bottom-center.has-primary-nav .Header--bottom {
  
    display : none;
    
    }
    
  </style>

Let us know how it goes.

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
Quote

Will I need to adjust the code if I adjust the placement of the navigation to center right?

Yes.

I don't know all the selectors SS uses for each of the positions so I can't give you those ahead of time.

Quote

will I need to adjust the code if I change the url slug of the page?

No.

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.