How to Add Your Own Social Media Icons
A free guide on how to add Discord, Telegram, or LinkedIn icons to the settings section of the Shopify Dawn theme.
Relevant for Dawn theme version 15.3.0

1. Prepare the Icon in SVG Format
Go to Figma and download the icon in SVG format.
2. Go to the code editor
Online Store → Themes → Edit code.
3. Upload the SVG Icon to the assets Folder
Make sure the file is named icon-discord.svg
Once uploaded, the image code will look something like this:
You’ll need to edit the SVG code to match the theme’s style (color, size, animation). To do this:
Remove the
width="264"andheight="200"attributes — these set fixed dimensions and may break responsiveness.Add the attribute
class="icon icon-discord"— this ensures the icon uses the shared social media icon styles.Remove
fill="none"and immediately after the<pathtag, addfill="currentColor"— this lets the icon automatically adapt to the parent element’s color.
Updated SVG Code (copy and paste this into Shopify, replacing the original code):
4. Open the social-icons.liquid File in the snippets Folder
Paste the following code before the </ul> tag and save the changes:
5. Open the settings_schema.json File in the config Folder
In the file, locate the following line:
Next, find the block "settings": [ — this array contains all available social media platforms.
Paste your code at the end of the list, just before the closing bracket ].
6. Open the en.default.json File in the locales Folder
Find the first occurrence of the "links": { block — this is where all available social media platforms are listed.
Inside this block, you'll see entries for each platform.
Insert the following line:
7. Open the en.default.schema.json File in the locales Folder
Find the following block in the file:
Paste the following code:
8. Open the Theme Settings
Go to Theme settings → Social media → Discord.
Add the link to your Discord server and save the changes.
9. Open the header.liquid File in the sections Folder
You might encounter an issue where the new icon doesn’t appear in the site header.
To fix this:
Find the line that starts with:
At the end of this line, add the following code:
Then, find the line:
Insert the following code after that line:
Finally, save the changes.
10. Open the header-drawer.liquid File in the sections Folder
You might also encounter an issue where the new icon doesn’t appear in the mobile version of the site — specifically in the menu that opens when clicking the hamburger icon.
To fix this:
Find the following line in the file:
Insert the following code before the closing
</ul>tag:
Save the changes.
Your new icon is now successfully added to the site.
FAQs
Need help with setup? Contact us — we’ll handle everything for you.
Last updated