Jump to content

How to redirect navigation folder to page with same name instead of first page in the folder

Recommended Posts

  • Replies 4
  • Views 193
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

@EsterB If you add the overview page as the first item in the folder, this will create the action that you require.

You can then hide this item using some CSS. For example to hide the "Products" link in the "Our Products" folder, you might use:

a[href="/our-products-1"].Header-nav-folder-item {
  display: none;
}

Did this help? Please give feedback by clicking an icon below  ⬇️

Edited by paul2009

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

Link to comment

Yeah sorry, my bad explaining correctly. I put our

 

products in the folder now because I had no way of getting to the folder via de folder name that is in the navigation. I would like to take 'our product' out of the folder and have the folder name redirect to this page.

E.g I would like to link the navigation title Applications to the applications overview page and not to hydrogen. And the navigation About to About SparkNano without having the page in the folder.

Am I making any sense?

Link to comment
3 minutes ago, EsterB said:

Yeah sorry, my bad explaining correctly. I put our products in the folder now because I had no way of getting to the folder via de folder name that is in the navigation.

That's what I'd understood. If you add the CSS provided, the 'products' link (within the products folder) should be hidden, but clicking on the product folder should go to the products page.

Is this not what you want? 🤔

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

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.