A space to discuss online store customization, theme development, and Liquid templating.
This is an accepted solution.
I was able to get it to work by adding this code to my theme.liquid:
{%- if settings.favicon != blank -%} <link rel="shortcut icon" href="{{ settings.favicon | img_url: '32x32' }}" type="image/png"> {%- endif -%}
You can try again by following this guide: https://help.shopify.com/en/manual/online-store/images/add-favicon
If it still does not work, I think you should add it manually by add this code to theme.liquid:
<link rel="shortcut icon" href="your_favicon_image_url" />
I've done both and still can't get this to work.
This is an accepted solution.
I was able to get it to work by adding this code to my theme.liquid:
{%- if settings.favicon != blank -%} <link rel="shortcut icon" href="{{ settings.favicon | img_url: '32x32' }}" type="image/png"> {%- endif -%}
If still not work, I found solution was to make sure code sits directly under the <head>
Eg..