▶️ Add a favicon to your website
On this page
Code Snippet:
```liquid
```
Where the https://path/favicon.png is the URL from your favicon’s media record.
1. Upload the Favicon Image
-
Go to the StoreConnect app (backend).
-
Navigate to: Media List View.
-
Click New to upload a new media file:
-
Give it a Name.
-
Select File Type: Image.
-
Upload your favicon image file (recommended format:
.ico,.png,.svg).
-
-
Click Save.
-
After saving, copy the URL provided (from the StoreConnect Content Delivery Network).
2. Create a Content Block for the Favicon
-
Go to: StoreConnect Navigation → Custom Content → Content Blocks.
-
Click New to create a content block:
-
Select Content Template: No added styling.
-
Give it a Name (e.g. Header Content Block).
-
-
In the Content section, add the following HTML code:
Replace
"https://path/favicon.png"with the URL you copied earlier. -
Click Save.
3. Apply the Content Block to the Website Header
-
Go to your Store Record.
-
Under the Content section, open Global Content.
-
Under the Head Content field:
- Edit and select your newly created Header Content Block.
-
Click Save.
4. Verify the Favicon
-
Visit your live website.
-
Refresh the page.
-
You should now see the favicon appearing in the browser tab.
(Optional) Removing or Updating the Favicon
-
To change or remove the favicon:
-
Update or replace the image in Media.
-
Edit the Content Block and update the URL as needed.
-
Save and refresh your website.
-