How can I add a favicon to my Craft theme?

Topic summary

A user needed help adding a favicon to their Craft theme on Shopify, as the theme didn’t provide a built-in option for this feature.

Solution provided:

  • Prepare a favicon image (32x32 pixels recommended) in .ico, .png, or .svg format
  • Access Shopify admin panel → Online Store → Themes
  • Use “Edit Code” to open the theme editor
  • Locate the Layout folder and open the “theme.liquid” file
  • Add a reference line in the section to link the favicon file
  • Replace “favicon.ico” with the appropriate filename if using a different format

Additional resources were shared via a blog article link for detailed guidance.

Outcome: The solution successfully resolved the issue, with the original poster confirming it worked perfectly.

Summarized with AI on November 19. AI used: claude-sonnet-4-5-20250929.

Hi @Sahilaneja

I hope you are doing good and welcome to the Shopify Community!
I am San from MS Web Designer.

You can follow this article To Add Fevicon To My Craft Theme:

https://tiny-img.com/blog/add-favicon-shopify-store/

Regards,

San