Shopify themes, liquid, logos, and UX
Hey folks, I hope everyone is well.
I'm in the process of building a new theme for our webstore and have noticed that our main font of choice (Din Next) changes from that to a standard system font when a collection is viewed. It's very strange and I can't fathom why it would do this.
The easiest place to spot it is in the header. If you navigate from the home page to any collection page the font will change.
If anyone would care to investigate and assist I'd be very much obliged!
The link to view our store is that of a preview and therefore would only work for 2 days so a speedy solution would be much appreciated.
Thanks so much!
Dave
Solved! Go to the solution
This is an accepted solution.
Dear @UK_Aspire_Vendo ,
I have reviewed your requirement, you just need to edit css script and the issue will be resolved. You can follow my instructions!
Step 1: Go to Admin -> Online store -> Theme > Edit code:
Step 2: Search for the file theme.css. And add this code snippet to the end of the file.
body {
font-family: 'Din Next', sans-serif !important;
}
Or ensure the font is consistently applied across all pages, you put this code in theme.liquid. And add this code snippet within the <head> section of the template:
<head>
...
<style>
body {
font-family: 'Din Next', sans-serif !important;
}
</style>
...
</head>
Step 3: Save your code and reload this page.
=>> The result:
I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.
Have a nice day sir!
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
@UK_Aspire_Vendo - add this css to the end of theme.css file and check
body{--text-font-family: "DIN Next", sans-serif;}
I can confirm, this did not work! Thank you for your efforts though!
This is an accepted solution.
Dear @UK_Aspire_Vendo ,
I have reviewed your requirement, you just need to edit css script and the issue will be resolved. You can follow my instructions!
Step 1: Go to Admin -> Online store -> Theme > Edit code:
Step 2: Search for the file theme.css. And add this code snippet to the end of the file.
body {
font-family: 'Din Next', sans-serif !important;
}
Or ensure the font is consistently applied across all pages, you put this code in theme.liquid. And add this code snippet within the <head> section of the template:
<head>
...
<style>
body {
font-family: 'Din Next', sans-serif !important;
}
</style>
...
</head>
Step 3: Save your code and reload this page.
=>> The result:
I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.
Have a nice day sir!
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
This worked perfectly! Thank you so much!
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025