Hi I can’t add my fonts to my Shopify theme: Dawn. I watched tutorials but they all need the "theme.scss.liquid" under Assets. I don’t see this under edit code in assets. Can you please help me there are 3 fonts I need.
Also is there an easier way for fonts to apply to all headings, subheadings, body etc. or do you have to do one by one in the code “h0,h1,h2” etc.
Let me know thanks!
Hi @linaubiquity ,
Please follow the steps in this video below. For adding the fonts, you have to mention which element you want the font to add. You can just do the following code as reference.
h0, h1, h2, h3, h4, h5 {
font-family: my_font
}
Hey! I watched the video and followed the instructions but it’s still not working! I am not sure what I’m doing wrong- could it be the fonts I downloaded? Please help idk what to do
Hi @linaubiquity ,
You need to enclose your code in curly brackets. Is this already added to your theme.liquid as well.
#banner .... {
font-family: ....
}
This is what my theme.liquid looks like:
Hi @linaubiquity ,
Looks like your good on the theme.liquid. It is just your base.css code. Enclose your code with curly brackets as what you did on h0, h1s
Okay so a font was applied to the website except it does not look like my fonts the way they do on other platforms (ex. canva). I don’t know why this is, is this because where I downloaded the fonts they were not accurate or because they were free? Where do you recommend getting good quality downloaded fonts?
I attached two photos one is of the website and one is my fonts on canva. Idk why they look so different
Hi @linaubiquity ,
You can check if your fonts are being loaded right if you inspect the browser