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?
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025