How can I add page anchors to Navigation? (Dawn Theme)

Topic summary

Goal: Add in-page anchors (jump links using element IDs) to sections in a Shopify Dawn theme and link them from navigation submenus. The site was built via the Theme Customizer, so the author can’t directly edit page HTML in the Pages area.

Attempt: Added Custom Liquid blocks with (unique IDs per section). Result: Anchors worked on the homepage, but this change caused an issue where the homepage couldn’t be accessed from other pages (navigation back to the homepage stopped working).

Support request: A responder said adding an ID is possible and asked for the site URL and a screenshot of the target section to guide implementation.

Status: No confirmed solution yet. The thread awaits the site URL/screenshot and further instructions on correctly assigning IDs to sections and configuring navigation links so they work across pages (including returning to the homepage).

Summarized with AI on January 11. AI used: gpt-5.

Hi! I have created my website with Dawn theme and I am looking to create anchors to certain headings on my pages, then add submenu items to my navigation to jump at these anchor points.

However, since I created all my sections with the Theme Customizer, I can’t seem to access the HTML of my pages (I click to Pages on my dashboard and don’t see any HTML code or text where they should be).
Is there any way to add ID to my sections, then create anchors?

hy, @finesake

There is a way to add an ID. Please provide the URL of the page and a screenshot of the section where the ID needs to be added.

Hi. I tried a solution inserting Custom Liquid and putting the code

with a different anchor name to each section and it worked only on my front page, except that I wasn’t able to click back to my homepage from any other pages anymore…