Solved

Debut theme - changing style of h1, h2 etc.

Cancanhui
Tourist
12 0 1

hello, right now i am testing a new store and for this i am using debut theme, however i dont feel it is a very good developed theme. i wish to change the font size of h1 and turn off uppercase for h2 on the product page.

my shop is

www.heartofmardin.com

and here is the font issue

https://heartofmardin.com/pages/sizing

thx guys.

Accepted Solution (1)
Hardik29418
Shopify Partner
2858 407 1073

This is an accepted solution.

.h2, h2 {
    font-size: 31px !important;
}

- Need a Shopify developer? Chat on WhatsApp or EMAIL ME!


- Your Coffee Tip would do Magic code ❤️
- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Email

View solution in original post

Replies 6 (6)

Hardik29418
Shopify Partner
2858 407 1073

Please place this code at the end of theme.scss

.h2, h2 {
    text-transform: unset !important;
}
.h1, h1 {
    font-size: 31px !important;
}

- Need a Shopify developer? Chat on WhatsApp or EMAIL ME!


- Your Coffee Tip would do Magic code ❤️
- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Email
Cancanhui
Tourist
12 0 1

thank you so much sir, do you know how i can change font size?

Hardik29418
Shopify Partner
2858 407 1073

I changed font size of h1. Did you see that?

- Need a Shopify developer? Chat on WhatsApp or EMAIL ME!


- Your Coffee Tip would do Magic code ❤️
- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Email
Cancanhui
Tourist
12 0 1

yes sir, but h2 is way too small, this is why i asked. and thank you very much for your help!

Hardik29418
Shopify Partner
2858 407 1073

This is an accepted solution.

.h2, h2 {
    font-size: 31px !important;
}

- Need a Shopify developer? Chat on WhatsApp or EMAIL ME!


- Your Coffee Tip would do Magic code ❤️
- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Email
Cancanhui
Tourist
12 0 1

thank you very much sir