Jump to content

Can't get anchors to work with Mojave template

Go to solution Solved by DanW,

Recommended Posts

Site URL: https://pointloma.org/anchor-test

I have having trouble getting anchors to work correctly. I created a test page called anchor-test. It involves a button, image and then the code block identifying the anchor.

No matter what I try, when I click on the button it always reloads the page and goes to the top.

The button links to https://www.pointloma.org/anchor-test/#anchortest1

The code block has <h1 id="anchortest1"> This is an anchor test</h1>

I have tried Safari, Chrome, without Ajax

Can someone point out what I'm doing wrong?

Thanks.

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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.