Blog Anchor Links Not Working In Dawn Theme

Topic summary

Anchor (jump) links in a Shopify Dawn theme blog initially worked when added in the blog’s HTML but stopped functioning a day later. The author believes something may have changed on the backend and has tried multiple approaches (tutorials and code generated by ChatGPT) without success.

Key details:

  • Issue scope: In-page anchor links meant to jump to sections no longer trigger navigation.
  • Evidence: A screenshot of the anchor-link code was attached; the image is central for diagnosing the problem.

Recent interactions:

  • A responder asked for the blog page URL to inspect the issue.
  • The author noted the site is not live and asked how to provide access; no alternative method was established.

Status and next steps:

  • No fix or root cause identified yet; no code samples beyond the screenshot were shared in text.
  • The thread remains unresolved, pending a way to review the page (staging link, preview access, or full HTML/CSS snippets) and clarification on how to grant access.
Summarized with AI on December 23. AI used: gpt-5.

Hi there, I have been trying to get anchor links (jump links) working in my blog. I managed to get the anchor links working originally when I first put them into my blog’s HTML but then a day later they stopped working. I have tried numerous methods and I have looked through a lot of tutorials and it looks as though I was doing everything correctly. I even had Chat GPT write me a code and that still didn’t work. Please help me with this, I feel like something has happened in the backend because the anchor links did originally work when I put them in.

I have attached an image of the code I have been using for the anchor links.

Hi @infinitysleep

Could you share your page link of that blog?

Sorry the website isn’t live yet, how do I give you access?

Can anyone help with this issue?