Re: Favicon not showing

Solved

Favicon not showing

allisonher
Tourist
14 1 4

I have added a Favicon to my theme but it doesn't show up.  Please help!

 

https://dragonwinggirl.com/

Accepted Solution (1)
allisonher
Tourist
14 1 4

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 -%}

View solution in original post

Replies 4 (4)

HKTApps
Shopify Partner
2 0 0

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" />

 

 

image.png

 

HKT Apps - We build useful apps to boost your store
If our answer is helpful then please like and accept as solution!
Check our website for full our apps and solutions.
Install our app to boost your store
allisonher
Tourist
14 1 4

I've done both and still can't get this to work.

allisonher
Tourist
14 1 4

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 -%}
jonnohowe
Tourist
4 0 1

If still not work, I found solution was to make sure code sits directly under the <head>

Eg..

 

jonnohowe_0-1661477098082.png