Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello!
As the title implies, we're having issues with our site's favicon not showing. We already tried adding the favicon the easy way (via the 'Theme Settings' in 'Customize'), and manually (via adding the code in theme.liquid).
Website URL: https://www.thealchemistskitchen.com/
Favicon File Name: FaviconTAK48.png
Favicon Size: 48 x 48 px (someone said Google only accepts multiples of 48 in favicon)
Code in theme.liquid in the <head> section: <link rel="shortcut icon" href="{{ 'FaviconTAK48.png' | asset_url }}" type="image/png" />
That's all we've done so far. Any kind of advice would be greatly appreciated. 🙏
- - - -
Hi @Zeb2 !
Try to replace the theme code you added for favicon to: <link rel="shortcut icon" href=favicon link"" type="image/png" />
Then, replace the "favicon link" to the favicon file link, and not file name. You can get the favicon file link on your admin page >content >files >link logo.
Hello!
Thank you for your reply and advice. Unfortunately, it didn't work for us. The favicon still refuses to show up. 😅
Did you get this fixed? I just fixed mine with the below code:
{%- if settings.favicon != blank -%}
<link rel="icon" type="image/png" href="{{ settings.favicon | image_url: width: 32, height: 32 }}">
{%- endif -%}
Just go into your theme.liquid code, search "favicon", delete old code and replace with the above. Worked like a charm for me!
Hey,
We haven't found the solution actually. We've lit it sit as it was, and strangely some days the favicon shows, some days it doesn't. We don't really know at this point. We've tried your suggestion, but it didn't work still. Thank you for sharing it tho! It might help other people who have the same issue.
Thanks again!
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025