All things Shopify and commerce
Tried adding favicon in Themes.
Added code directly to theme.liquid under <head>. nothing works. please help
Solved! Go to the solution
This is an accepted solution.
Hi Suba,
To update your favicon to an ICO format and ensure it's displayed in Google search results, please follow these steps:
<link rel="shortcut icon" href="PASTE_YOUR_SHOPIFY_ICO_URL_HERE" type="image/x-icon">
Replace PASTE_YOUR_SHOPIFY_ICO_URL_HERE with the actual URL of your ICO file.
Converting to ICO ensures wider compatibility across browsers and platforms.
Uploading the ICO to Shopify and updating the link ensures your site uses the correct favicon format.
Submitting your site to Google Search Console and ensuring your sitemap is up to date helps Google crawl and index your site more effectively, including the favicon update.
Let me know if this helps! After completing these steps it may take time to see the results reflect in Search Engines.
All themes will have settings for adding website icons in theme customization, and the settings for different themes will be different.
I have already added the above in the themes.
My favicon is not displayed in home page alone.
I can see it on other pages. Please help
Hi Suba,
There's likely code on the home page specifically preventing the favicon from rendering. Can you share a URL to your site for further investigation?
Thanks! I can see in the code that the favicon reference below is missing from your homepage:
<head><link rel="shortcut icon" href="//leafysheets.com.au/cdn/shop/files/Favicon_32x32.png?v=1707989633" type="image/png"><meta name="google-site-verification" content="fczJdvhzXMrZ7uPwS1hIkgezG2BHHx553b8vSVni0gk" />
<link rel="shortcut icon" href="//leafysheets.com.au/cdn/shop/files/Favicon_32x32.png?v=1707989633" type="image/png">
<link rel="shortcut icon" href="https://leafysheets.com.au/cdn/shop/files/Favicon_32x32.png?v=1707989633" type="image/png">
Let me know if you have any questions or would like assistance implementing this update.
Hi
This helped to an extend. I can now see on all pages including homepage.
However, on the google search, it still not showing.
This is an accepted solution.
Hi Suba,
To update your favicon to an ICO format and ensure it's displayed in Google search results, please follow these steps:
<link rel="shortcut icon" href="PASTE_YOUR_SHOPIFY_ICO_URL_HERE" type="image/x-icon">
Replace PASTE_YOUR_SHOPIFY_ICO_URL_HERE with the actual URL of your ICO file.
Converting to ICO ensures wider compatibility across browsers and platforms.
Uploading the ICO to Shopify and updating the link ensures your site uses the correct favicon format.
Submitting your site to Google Search Console and ensuring your sitemap is up to date helps Google crawl and index your site more effectively, including the favicon update.
Let me know if this helps! After completing these steps it may take time to see the results reflect in Search Engines.
hi, can you also help me with the favicon? It doesn’t show up on my website either.
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!
i have done the steps you have shown but still i cannot get it to show on google search
so im also having this issue. I cannot for the life of me get my favicon image to display in google search results, can anyone assist. I have tried the above solution but this also doesnt seem to have work as it has for others
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!
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024