Jump to content

Index Page - Anchor tags on main navigation menu links

Recommended Posts

Helllooo!! I would like to have this website exist on one long scrolling page but would like to have each index section anchor-linked to a regular menu (top header as well as mobile menu). I tried doing this by adding a code injection by using anchor tags (#"insertwhateveranchorterm") in each section and then setting up each menu item as a link in the primary navigation menu(with yourdomain.com/indexpageslug/#whateveranchorterm) - however it doesn't pull the anchored link to the top of the browser, instead it just goes to just that section on it's own and looks like shit.  

Does anyone know how to effectively do this without recreating some faux-navigation buttons or words?

Edited by oldegray
prematurely hit enter
Link to comment
  • Replies 1
  • Views 589
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

On 2/17/2022 at 11:50 PM, oldegray said:

Helllooo!! I would like to have this website exist on one long scrolling page but would like to have each index section anchor-linked to a regular menu (top header as well as mobile menu). I tried doing this by adding a code injection by using anchor tags (#"insertwhateveranchorterm") in each section and then setting up each menu item as a link in the primary navigation menu(with yourdomain.com/indexpageslug/#whateveranchorterm) - however it doesn't pull the anchored link to the top of the browser, instead it just goes to just that section on it's own and looks like shit.  

Does anyone know how to effectively do this without recreating some faux-navigation buttons or words?

You can try the solution in the following post:

Hope it can help

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. 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.