Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 1
jacquie1570047880

Hayden: Adding Dropdown Navigation for Pages Within an Index

Question

I've created a website using the Hayden template and I would like to add a dropdown navigation to the main menu so that users can quickly navigate to a specific section within an index from the menu. Right now, the theme only supports the top level index page to appear within the main navigation, and I would like to be able to reveal the sections within the index in a dropdown menu upon hover. This would likely involve creating anchor tags for the different sections and then referencing them in the dropdown menu, but I'm not sure what code I need to inject in order to achieve this, and how to do it without breaking the navigation for tablet and mobile.

I've seen others attempt to do this by creating folders and then referencing the index sections as a page within a folder, but this doesn't achieve the effect I'm looking for because, if a user clicks on the section within the dropdown navigation, it will only reveal that particular section and the user cannot scroll up or down to view the other sections. Does this make sense? In short, what I'm looking to do is to create dropdown menu navigation for the sections within an index using anchor tags.

Any suggestions and coding wisdom are welcome!! Thanks!

Edited by TreyT

Share this post


Link to post

Recommended Posts

  • 0

Thanks for the detailed directions. This might be a longshot, but would you be willing to exchange emails in order for us to solve this? I am willing to pay you if possible... Mines intuitivedesign.io@gmail.com

Share this post


Link to post
  • 0

This discussion is a bit old, but for anyone stumbling upon it from an internet search, some templates require "-section" at the end of the anchor link. See Step 3 of this page: https://support.squarespace.com/hc/en-us/articles/207842357. As of this posting, templates that need the "-section" appended are Pacific, Charlotte, Fulton, Horizon, and Naomi. That stumped me for a bit so hopefully that helps others with the same problem.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...