Jump to content

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

Recommended Posts

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!

 

Link to comment
  • Replies 0
  • Views 356
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.