How to add a Home button return to home page on all pages?

Topic summary

A user seeks to add a standalone Home button (separate from the main menu) across all pages of their Shopify store.

Proposed Solution:

  • For Dawn theme users: Insert HTML code (<a href="/">Go to Home</a>) into the page template file (sections/main-page.liquid) via the theme editor.
  • A screenshot demonstrates the code placement location.

Implementation Issue:

  • Initial attempt failed—code added but no visible changes appeared on the site.
  • Troubleshooting suggested checking correct file placement and clearing cache.

Resolution:

  • After further guidance and offer of collaboration access for direct assistance, the user successfully resolved the issue independently.
Summarized with AI on October 31. AI used: claude-sonnet-4-5-20250929.

How to add a Home button return to home page on all pages?

Yes, I would need an individual button instead of include in the main menu

1 Like

Hello, @NatalieY123

If you are using dawn theme you can go theme editor->theme check page template in my case sections/main-page.liquid then add bellow code. it will send you home page

Go to Home

Hope it will solve your issue.

Thank you

Thanks for your feedback. I just try but not work. Nothing change.

can you share the url, where you insert is your cache please,
Secondly is the button show.

Here is my link https://trendy-ty-fashion.com/

Hello, I saw your insert code is not showing. Are you insert the file in correct area. If you are unable to do. You can send us collaboration code via PM we will request collaboration access to help you to insert the code.

Thank you

i already fix it thanks