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

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

lukafernada
Excursionist
122 1 48

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

lukafernada_0-1727827516488.png

 

lukafernada_1-1727827516491.png

 

 

Replies 2 (2)

Moeed
Shopify Partner
5432 1470 1756

Hey @lukafernada 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
.product__title h1 {
    font-size: 28px !important;
}
</style>

RESULT:

Moeed_0-1727800358947.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications


PageFly-Richard
Shopify Partner
4665 1069 1726

Hi @lukafernada 

 

This is Richard from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

 

<style>
@media (max-width: 767px) {
.product__title h1 {
    font-size: 20px !important;
}
}
</style>

Hope this can help you solve the issue 

 

Best regards,

Richard | PageFly 

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.