How to change the default font and font size

Hi Shopify Community,

I want to change the text of the website to the default font (Montserrat) that I use on the rest of my website.

And how can I smaller the font size of policy and newsletter?

Thanks in advance!

Add this code in theme.scss or theme.css.
on the top.

h2.Footer__Title.Heading.u-h6 {
    font-size: 20px;
}

I also want to know how to solve this problem!

Thank you so much, sir! it works!

How I can change the all the fonts to Montserrat

@lucas05021
Share your Site URL.

a {
    font-family: Montserrat, sans-serif;
}

Add this css at the bottom of Online Store->Theme->Edit code->Assets->theme.scss.liquid

Go to the customization.
click on edit theme setting.
Click typography.
Above that select the font style.

or add this code to theme.scss

*{
font-family:Montserrat;
}

Hi, the last question

I found some fonts are too big on the website. This seems to come from the same setting. Can I make all these fonts smaller?

Product name

refund policy

h1.ProductMeta__Title.Heading.u-h2 {
    font-size: 20px;
}

Add this css at the bottom of Online Store->Theme->Edit code->Assets->theme.scss.liquid

yes. check out the setting it shows the h1, h2 like

How can I edit the font size of h1,h2? Thank you in advance!

Inn which page it’s occuring.
Share me link.

https://www.benksglobal.com/policies/refund-policy

https://www.benksglobal.com/policies/privacy-policy

https://www.benksglobal.com/collections/iphone-12-screen-protector

The head of all these pages

what size you want?
You want to make it Smaller.

I want to make it smaller like 16 px

Add this in theme.scss

h1,h2,h3{
font-size:16px !important;
}


I want to make the font smaller for the website name for mobile only. photo attached for reference, last letter does not fit. TIA

Hi @pb11nz ,

Share your store URL please ?

https://thebudgetify.myshopify.com/

password 1111

The problem is only on android screens, I tried on iPhone and it works fine. I also want to reduce the size and make italic overlay text on image only for mobile screens.

1 Like
@media only screen and (max-width: 749px){
.site-header__logo {
    padding-left: 21px !important;
    text-align: left;
}
}

@pb11nz 1. Navigate to Online Store->Theme->Edit code
2. Asset->/theme.css or theme.scss->paste below code at the bottom of the file.
3. Save it.

1 Like