Theme : Dawn
Hello,
I want to reduce the font size of my title product page.
I tried “@media only screen and (max-width: 750px) { .product__title h1 { font-size: px; } }” in base.css with no results.
Thanks in advance!
Theme : Dawn
Hello,
I want to reduce the font size of my title product page.
I tried “@media only screen and (max-width: 750px) { .product__title h1 { font-size: px; } }” in base.css with no results.
Thanks in advance!
Hello @hend
It’s GemPages support team and glad to support you today.
To provide you with the most precise solution in this case, could you please share the store link?
I would like to give you a solution to support you.
Go to Online Store → Theme → Edit code.
Open your theme.liquid theme file.
Paste the below code before :
Hope my solution can work and support you!
Kind & Best regards!
GemPages Support Team.
Thanks but it didn’t worked unfortunately ![]()
I tried changing the font size from 40px to 35px , on screens from 750px or more. this code is working
The code you use applies exclusively to mobile, you can change the font 20px to a different value if you want.
Hi @hend
This is Victor from PageFly - Shopify Page Builder App, I’d like to suggest this idea:
Add this CSS at the bottom
Online Store ->Theme ->Edit code
Assets ->section-main-product.css
.product__title>h1 {
font-size: 34px !important;
}
Hope you find my answer helpful!
Best regards,
Victor | PageFly