We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

How do I decease the product title font size on mobile only

How do I decease the product title font size on mobile only

lukafernada
Pathfinder
157 2 57

It is too big on mobile - the website is called cheffings.net

IMG_0435.pngIMG_0436.png

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
10211 2427 3079

Hi @lukafernada 

Check this one. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

@media only screen and (max-width: 749px){
.product__title h1 {
    font-size: 30px;
}
}

 

And Save. 

Result:

Made4uoRibe_0-1727710547810.png

 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
lukafernada
Pathfinder
157 2 57

this hasn't worked