Font changes between pages?

Solved

Font changes between pages?

UK_Aspire_Vendo
Pathfinder
127 8 24

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

Accepted Solution (1)

BSSCommerce-B2B
Shopify Expert
564 112 135

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:

BSSCommerceB2B_0-1718385373492.png

 

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: 

BSSCommerceB2B_1-1718385696389.png

 

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! 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution.


B2B Solution & Custom Pricing |BSS: B2B Portal, Quote, Net 30 | BSS: B2B Login Lock Hide Price


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency

View solution in original post

Replies 4 (4)

suyash1
Shopify Partner
9545 1193 1531

@UK_Aspire_Vendo - add this css to the end of theme.css file and check

body{--text-font-family: "DIN Next", sans-serif;}

 

Support me | To build shopify pages use pagefly | You are welcome to contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
UK_Aspire_Vendo
Pathfinder
127 8 24

I can confirm, this did not work! Thank you for your efforts though!

BSSCommerce-B2B
Shopify Expert
564 112 135

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:

BSSCommerceB2B_0-1718385373492.png

 

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: 

BSSCommerceB2B_1-1718385696389.png

 

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! 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution.


B2B Solution & Custom Pricing |BSS: B2B Portal, Quote, Net 30 | BSS: B2B Login Lock Hide Price


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
UK_Aspire_Vendo
Pathfinder
127 8 24

This worked perfectly! Thank you so much!