Shopify themes, liquid, logos, and UX
This is an accepted solution.
Hello @Sahilaneja
To add a favicon to your Shopify Craft theme, you can follow these steps:
Prepare your favicon:
Log in to your Shopify admin panel.
Click on "Online Store" and then select "Themes."
Locate the current active Craft theme and click on the "Actions" button.
Select "Edit Code" from the drop-down menu. This will take you to the theme's code editor.
In the code editor, find the "Layout" folder and open the "theme.liquid" file.
Look for the <head> section in the code.
Within the <head> section, add the following line of code to reference your favicon file:
<link rel="icon" href="{{ 'favicon.ico' | asset_url }}" type="image/x-icon">
Replace 'favicon.ico' with the appropriate filename if you're using a different format or file name.
This is an accepted solution.
Hello @Sahilaneja
To add a favicon to your Shopify Craft theme, you can follow these steps:
Prepare your favicon:
Log in to your Shopify admin panel.
Click on "Online Store" and then select "Themes."
Locate the current active Craft theme and click on the "Actions" button.
Select "Edit Code" from the drop-down menu. This will take you to the theme's code editor.
In the code editor, find the "Layout" folder and open the "theme.liquid" file.
Look for the <head> section in the code.
Within the <head> section, add the following line of code to reference your favicon file:
<link rel="icon" href="{{ 'favicon.ico' | asset_url }}" type="image/x-icon">
Replace 'favicon.ico' with the appropriate filename if you're using a different format or file name.
This worked perfectly! Thank you so much
Hi @Sahilaneja
I hope you are doing good and welcome to the Shopify Community!
I am San from MS Web Designer.
You can follow this article To Add Fevicon To My Craft Theme:
https://tiny-img.com/blog/add-favicon-shopify-store/
Regards,
San
If it’s helpful to you, please mark it as a solution.
Need Help with Shopify Design, Migration, Speed, or Custom tasks?
email: hi@mswebdesigner.com
Try Our Conversion Booster app to get more sales | Connect Our Founder Linkedin
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025