Jump to content

Hide one folder from the navigation when I'm in a specific site

Recommended Posts

Site URL: https://www.105angle.com/home-pl

Hello! 

 

Thanks to you I have fixed a lot of problems, I hope you will help me find a solution for the next one @tuanphan

 

Can I hide one nav folder depending on which page I am on? The case looks like this: I have 2 pages in different languages, anchor-links in them that point to relevant sections of the page. One navigation folder is in Polish and the other is in English.

Is there any way to hide one folder from the navigation when I'm in a specific site?

My site link here:

https://www.105angle.com/home-pl

Link to comment
  • Replies 7
  • Views 1k
  • Created
  • Last Reply

Add to Home ppl settings > Advanced > Header

<style>
  header#header [href="/foldersglobal"] {
    display: none;
}
</style>

Add to Global page settings > Advanced > Header

<style>
  header#header [href="/folderspl"] {
    display: none;
}
</style>

 

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
1 minute ago, tuanphan said:

Add to Home ppl settings > Advanced > Header


<style>
  header#header [href="/foldersglobal"] {
    display: none;
}
</style>

Add to Global page settings > Advanced > Header


<style>
  header#header [href="/folderspl"] {
    display: none;
}
</style>

Works fantastic! Thank you so much for your quick reply!

 

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.