Jump to content

Secondary nav to appear on one page only

Recommended Posts

  • Replies 8
  • Created
  • Last Reply

@ameliamacpherson Add to Home > Design > Custom CSS


:not(#collection-5d4f9960bb5b91000170536f) div#secondaryNavWrapper {
   display: none;
}

Reference: https://beaverhero.com/tag/york-family/

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

@ameliamacpherson Try inserting this code into HEADER


<style>
:not(#collection-5d4f9960bb5b91000170536f) div#secondaryNavWrapper {
    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

Please note that this will appear to work whilst you are logged on to your site, but it won't work for visitors to the site. The secondary nav will never appear. You can try it by visiting your site from an incognito window.

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.