Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
justinpheap.co

How To: Use Anchor Links on Home Page Nav Only (Relative Links)

Question

Site URL: http://www.mitchbakker.com

I am running into an issue (Brine Template) where the Home Page (/home) Primary Nav Menu utilizes Anchor Links (#example), which properly auto scrolls to a place on the Home Page with content relating to #example, but then clicking through to a new  "Example" page (/example), ends up retaining the same Primary Nav Menu...which then is broken (because #example only works on the Home Page (/home)). Essentially, I'm wondering how best to implement Relative Links in Squarespace?

How are you folks utilizing an anchor link in a nav menu, and then redirecting back to the home page after that? 

If you visit the site soon after this posting, you'll find that the closest solution I can come up with is to include:

/home#blog

in the Nav Menu, so that it at least redirects back home. But even then, it's not going to that section on the Home Page for some reason X)

Thoughts? Thanks, folks!

 

Edited by justinpheap.co

Share this post


Link to post

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

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


×
×
  • Create New...