Solved

Custom font for header text on Sense theme

puzzlepeople
New Member
5 0 0

Hi there,

 

I'm looking to use a custom font for designated classes (h1 & h2) in the Sense theme.  I followed multiple tutorials here in these forums for other themes, but couldn't get anything that worked just right.  I've already uploaded my fonts to both my Files section and Assets folder (in the 'edit code' section).

 

Help is so appreciated! Thanks.

Accepted Solution (1)

BSS-Commerce
Shopify Expert
3398 450 503

This is an accepted solution.

Hi @puzzlepeople ,
Go to the edit code section like you did, and search for the theme.liquid file

view - 2023-12-11T162643.844.png

add the following code to theme.liquid 

<style>
      h1, h2 {
        font-family: fantasy !important;
      }
</style>

In which "h1, h2" are the tags you want to change the font and change fantasy to your font named

view - 2023-12-11T163347.444.png

Hope it works @puzzlepeople 

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

For B2B solutions and custom pricing, check out B2B Solution & Custom Pricing |
For adding product labels/badges, visit Product Labels by BSS

BSS Commerce - Shopify Apps & Store Development Service Provider

Hire a Shopify expert | Shopify Plus Store Development

View solution in original post

Replies 4 (4)

nick404
New Member
4 0 0

try applying with custom css if you can store URL and i can look it up and check 

BSS-Commerce
Shopify Expert
3398 450 503

This is an accepted solution.

Hi @puzzlepeople ,
Go to the edit code section like you did, and search for the theme.liquid file

view - 2023-12-11T162643.844.png

add the following code to theme.liquid 

<style>
      h1, h2 {
        font-family: fantasy !important;
      }
</style>

In which "h1, h2" are the tags you want to change the font and change fantasy to your font named

view - 2023-12-11T163347.444.png

Hope it works @puzzlepeople 

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

For B2B solutions and custom pricing, check out B2B Solution & Custom Pricing |
For adding product labels/badges, visit Product Labels by BSS

BSS Commerce - Shopify Apps & Store Development Service Provider

Hire a Shopify expert | Shopify Plus Store Development

puzzlepeople
New Member
5 0 0

So easy compared to everything else I found! Thank you!

PhillipNguyenn
Shopify Partner
1 0 0

Great work! Your solution is excellent.