Jump to content

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

Recommended Posts

  • Replies 4
  • 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

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation 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.

Buy me a coffee

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? 🤔

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation 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.

Buy me a coffee

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.