My Craft theme doesn’t allow fevicon option. How can i incorporate it?
Topic summary
A user needed help adding a favicon to their Craft theme on Shopify, as the theme didn’t provide a built-in option for this feature.
Solution provided:
- Prepare a favicon image (32x32 pixels recommended) in .ico, .png, or .svg format
- Access Shopify admin panel → Online Store → Themes
- Use “Edit Code” to open the theme editor
- Locate the Layout folder and open the “theme.liquid” file
- Add a reference line in the section to link the favicon file
- Replace “favicon.ico” with the appropriate filename if using a different format
Additional resources were shared via a blog article link for detailed guidance.
Outcome: The solution successfully resolved the issue, with the original poster confirming it worked perfectly.
Hello @Sahilaneja
To add a favicon to your Shopify Craft theme, you can follow these steps:
-
Prepare your favicon:
- Create a favicon image in .ico, .png, or .svg format. The recommended size for favicons is 32x32 pixels.
- Ensure the favicon is named and saved as “favicon.ico” (for .ico format) or “favicon.png” (for .png format).
-
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 section in the code.
-
Within the section, add the following line of code to reference your favicon file:
liquid.
Replace ‘favicon.ico’ with the appropriate filename if you’re using a different format or file name.
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
This worked perfectly! Thank you so much