Jump to content

Hide Nav Items from different pages

Recommended Posts

Site URL: https://www.dirtkitchensnacks.com/

Hello,

I'm using the theme Brine and looking to do A and B testing on my site. I have duplicated all the pages and I'm looking to hide A navigation pages from B navigation pages and vise versa. Currently I have all my pages moved over to no linked and created individual links for all the pages in my primary and secondary navigations. What's the best way to hide specific url nav items from each page? 

Any help greatly appreciated.

Website password is dksnacks

Edited by EduardoPowerBrands
Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

To hide an item on any page, add this code to page Settings > Advanced > Header

here is an example for our story item

<style>
  a.Header-nav-item[href="/our-story"] {
    display: none;
}
</style>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.