Trouble with changing my font in the 'Sense' theme

Hi all! This post is coming from a total coding noob so bare with me. I have the Sense theme and I cannot seem to figure out how to change the selected title (in first screenshot) to the Halja font. I believe it is ‘h2’, yet when i type that, nothing changes. Earlier i had gotten it to work but instead of changing only that title, it changed every title/body/etc but now nothing works. I have included the changes i have made to the code in my screenshots. I have linked the font in my files + linked the file in the code. I have been trying to fix it for days but I am officially giving up trying on my own. Do you see any error in this specific code? Any suggestions? I cannot figure it out for the life of me. I have tried multiple different codes. None seem to work. I am the common denominator… LOL. Help. SOS.

Thank you in advance for any insight.

Kaitlyn

@kaitlynharrison
Welcome to the Shopify community!
Thanks for your good question.

Check out this given link, exactly you will learn how to add font.
https://ecomexperts.io/blogs/liquid-tutorial-shopify/shopify-font

Hi @kaitlynharrison ,

  • With font: Please change the code here:

Code: format(‘opentype’);

  • Change only for section, please change code:

Code: .image-with-text__heading

Hope it helps!