Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello! I'm looking for help in uploading my own custom font to my store.
@dboost1
Kindly take a look into this step-by-step tutorial on how to add custom fonts to your website.
Kind regards,
Diego
Please follow the steps:
- Step 1: Upload font in Assets. https://i.imgur.com/AqO9RnX.png
- Step 2: Get font-face in the CSS file. Ex:
@font-face {
font-family: 'font-name';
src: url('{{ 'font-name.eot' | asset_url }}') format('embedded-opentype'),
url('{{ 'font-name.ttf' | asset_url }}') format('truetype'),
url('{{ 'font-name.woff' | asset_url }}') format('woff'),
url('{{ 'font-name.svg' | asset_url }}') format('svg');
font-display: swap;
}
Hope it clear to you.
I tried this but it isn't appearing correctly
@dboost1
Please share your URL.
@dboost1
You were almost there. You have written "ttf" in the format of the font family. You should use "woff" in your case.
Kind regards,
Diego
Hi Diego, I've done exactly the same as written. Still, the font won't show. Very weird. Could you maybe have a look at it?
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025