All things Shopify and commerce
Our favicon used to show but it hasn't been showing for a while now. I followed some advice on other discussions and pasted the below in the href of the favicon code in theme.liquid:
<link rel="shortcut icon" href="" type="image/png" />
I also made sure my favicon image I uploaded to the site was 96x96 and png.
Favicon is currently still not showing on our site: https://www.twentytwoshop.com/
Any suggestions?
Hi @Chris_Whalley. Wrong value in href attribute.
Upload your icon to assets folder. In theme code add such part (instead of current):
<link rel="shortcut icon" href="{{ 'your-file-name.png' | asset_url }}" type="image/png">
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Thanks. How do I upload to assets folder?
Thanks just done that. This is what the coding currently looks like - is this correct?
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!
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025