Jump to content

Remove one page from the navigation, on a certain page, but have it on the others

Recommended Posts

Hi, 

I'm trying to remove a link from the navigation bar when I'm on a certain page, but still be able to see that link when I'm on the other pages. I used to be able to do it with the secondary navigation but with Squarespace 7.1 they removed the secondary navigation.

 

Link to comment
  • Replies 4
  • Views 545
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 year later...
On 3/5/2020 at 6:27 AM, tuanphan said:

Add this to Page Settings > Advanced > Header

with /contact is Item URL Slug

<style>
  .header-nav [href="/contact"] {
    display: none;
}
</style>

 

Hey Tuanphan, this is a great start thanks. How do I make it so that I can get rid of more than one page? Also it creates a weird space where the page nav once was - how do we get rid of that space? 

Link to comment
On 2/11/2022 at 8:11 AM, ConanKarpinski said:

Hey Tuanphan, this is a great start thanks. How do I make it so that I can get rid of more than one page? Also it creates a weird space where the page nav once was - how do we get rid of that space? 

What is your site url? Which item you want to remove? We can help easier

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.