How do I successfully upload a custom font to the Dawn theme?


I followed and watched all of the videos on how to add a custom font to the shopify theme “Dawn”. This Theme seems to be tricky because its a newer theme and alot if not all of the tutorials are for OLDER themes. I added the the font into the assetfolder as a .woff2 file. Then added the @font face code to base.ccss and Theme.css folder. IT worked once but when I tried to add another font it stayed the same. Now when I try to use one of Shopify’s font it wont change. It’s like the font is stuck

“■■■■■■■■ is the the font-family name I changed it too.

@JOhnnyBOII ,

refer this blog,

https://www.oscprofessionals.com/blog/how-to-add-and-edit-a-custom-fonts-to-your-shopify-store/

Hope this will work for you!

@JOhnnyBOII This is a problem with how Shopify’s new theme code editor processes file uploads. While we’re waiting for a fix, I recommend uploading your custom font files via Settings → Files and then use the file_url filter (instead of asset_url). That should get your custom font working as expected.

Tried this but still getting the same results. Has it worked for anyone else?

@tom_phillips did you see my post above [email removed] https://community.shopify.com/c/technical-q-a/uploading-custom-font/m-p/1697634/highlight/true#M99583