All things Shopify and commerce
Hey!
I just had to update my website theme and need to change the font to a custom font that Shopify doesn't provide. I've looked at past questions and solutions but they all involve having the base.css or theme.css file in the assets folder which I don't have.
If anyone could help me solve this problem, that would be great!
Website: www.tms.racing
Hi,
This is Richard at PageFly - Shopify Advanced Page Builder app.
While Shopify doesn't have a direct option to upload custom fonts to its theme editor, there are a few workarounds to achieve this. The key is to use CSS to link your custom font file to your theme.
Here's a step-by-step guide:
1. Prepare Your Custom Font:
2. Add the Font to Your Theme:
Method 1: Using a Theme Kit:
Install Theme Kit: Follow the instructions to install Theme Kit on your local machine.
Clone Your Theme: Clone your Shopify theme to your local machine using Theme Kit.
Edit the Theme:
@font-face { font-family: 'MyCustomFont'; src: url('/assets/fonts/MyCustomFont.woff2') format('woff2'), url('/assets/fonts/MyCustomFont.woff') format('woff'); font-weight: 400; font-style: normal; }
Upload the Font File:
Push the Changes: Use Theme Kit to push the changes to your Shopify store.
Hoping my solution helps you solve your problem.
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
Hi Richard!
Thank you for your response! Do you have another method I can use that doesn't involve the theme.scss.liquid file, because I don't have it on this theme?
Thank you!
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