Jump to content

Anchor links to another index page

Recommended Posts

Site URL: https://www.elephantom.design

Hi everyone,

I have a button embedded on the last image of www.elephantom.design/gallery.

It links to an anchor on my home page, which is an index page with 3 sections. The link is to the 3rd section of the home page, called subscribe-to-the-newsletter.

It seems I have tried every combination of page slugs and # signs with always the same end result: it sends me to the home page but does not scroll down to the 3rd section.

I also tried putting a new <div id> or <span id> code right with a new unique id before the 3rd section and used that id in the anchor link: it did not change the behavior.

Helpful info:

  • Home page slug: /welcome
  • 3rd section page slug: /subscribe-to-the-newsletter
  • I'm on macOS with Safari. Also tried on Chrome, no change.

Thanks for any helpful tips!

Link to comment
  • 1 month later...
  • Replies 2
  • 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.