Change Size of Product Title? Craft Theme

YnkSch
Excursionist
33 0 14

Hey, how can I change the size of the product title on the product page? I'm using craft theme.

Replies 4 (4)

Mr_RaviRaj
Shopify Partner
505 57 108

@YnkSch 

h1.product__title {
    font-size: 25px !important;
}

Add this code in the section-main-product.css file.

1. Navigate to Online Store->Theme->Edit code
2. Asset->/section-main-product.css ->paste below code at the bottom of the file.
3. Save it.

banned
YnkSch
Excursionist
33 0 14

It doesn't work on my side

SanjayK
Shopify Partner
1 0 0

@YnkSch 

h1,
.h1 {
font-size: calc(var(--font-heading-scale) *  5rem);

 

 

 

Add this code in the section-main-product.css file.

1. Navigate to Online Store->Theme->Edit code
2. Asset->/base.css ->Replace code at the file.
3. Save it.

YnkSch
Excursionist
33 0 14

it's also not working