I’m currently working on a new design for our website. I’m using the Shopify Dawn theme and have incorporated two custom fonts to use throughout the website. For whatever reason, the fonts are not appearing in certain areas.
One example is the quantity selector. I have tried numerous different methods and nothing seems to work in trying to change the font.
Please see the photo below for reference. The Red “Add to cart” Button has the correct custom font, but the quantity selector above it is both the incorrect font and style.
@StokedOats ,
To make your custom fonts apply to areas like the quantity selector in the Shopify Dawn theme, you’ll need to directly target those input fields via CSS. The default theme styles often override font settings for form elements.
Add this code:
css
CopyEdit
.product-form__input input[type=“number”], .quantity__input { font-family: ‘YourCustomFontName’, sans-serif !important; font-weight: normal !important; }
Replace ‘YourCustomFontName’ with your actual font name.### Where to place it:- Go to Online Store > Themes > Edit Code
- Open your base.css or theme.css and paste the code in file
This should apply your custom font to the quantity selector and similar input fields.
Or I can fix it with my method — I’ll add a custom feature to your Shopify theme so you can upload unlimited fonts and apply them anywhere you want. That would require detailed code updates.
Let me know your store URL and collaborator request code if you’d prefer I take care of it.
If it resolves your issue, please mark my answer as a solution.