Font changes between pages?

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

@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!

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 section of the template:


...
  
...

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!

1 Like

This worked perfectly*!* Thank you so much!