Is it possible to make the product page headers as bold on the mobile version?

Is it possible to make the product page headers as bold on the mobile version?

sofiakarkus
Tourist
26 1 4

Is it possible to make the product page headers as bold on the mobile version as they are on the desktop version and also a bit bigger? Otherwise, there’s just too much text.

 

 

Replies 9 (9)

topnewyork
Globetrotter
569 95 121

Hi @sofiakarkus , 

 

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>

 

 

 

<stlye>
@media screen and (max-width: 767px) {
    .product__accordion__title {
        font-weight: bold !important;
    }
}
</style>

 

 

topnewyork_0-1725261057568.png

 

OR 

<style>
@media screen and (min-width: 768px) {
    .product__title {
        font-size: 35px !important;
        font-weight: bolder !important;
    }
}
</style>

topnewyork_0-1725261609091.png

 

 

If this is what you meant then kindly hit the like and mark it as an accepted solution otherwise kindly show me what you want bold in mobile. Thanks!

 

Need a Shopify developer?
Hire us at topnewyorkwebdesign.com
For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
Subscribe to our youtube channel
sofiakarkus
Tourist
26 1 4

Hi! Thank you for your reply. I tried both codes, but unfortunately, neither of them worked the same way as in your screenshot. What could I be doing wrong?

topnewyork
Globetrotter
569 95 121

@sofiakarkus , kindly share the screenshots of the code please. Thanks!

Need a Shopify developer?
Hire us at topnewyorkwebdesign.com
For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
Subscribe to our youtube channel

Moeed
Shopify Partner
4892 1292 1566

Hey @sofiakarkus 

 

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>
@media screen and (min-width: 768px) {
.product__title {
    font-size: 40px !important;
    font-weight: bolder !important;
}
}
</style>

RESULT:

Moeed_0-1725261211644.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
- Your Coffee Tip and my code, A perfect blend. ❤️
sofiakarkus
Tourist
26 1 4

Hi, thank you for your reply. I tried, but unfortunately, nothing changes when I follow the instructions and change the code. What could I be doing wrong?

Moeed
Shopify Partner
4892 1292 1566

Hey @sofiakarkus 

 

Can you share a screenshot of the code you added?

 

Best Regards,

Moeed

-Need a Shopify Specialist? Chat on WhatsApp
- Custom Design | Advanced Coding | Store Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️

Sangeetanahar
Excursionist
292 19 40

hello @sofiakarkus 

Go to online store ----> themes ----> actions ----> edit code ---->assets....>theme.css>
search this code

.product__title {
    font-size: calc(2rem* var(--adjust-heading));
    margin-bottom: 0;
  
}

 

replace with this code

.product__title {
    /* font-size: calc(2rem* var(--adjust-heading)); */
    margin-bottom: 0;
    font-size: 30px !important;
}

 

result

Hair-Growth-Boost-Starter-Pack-–-Placent-Active-Australia.png

Buy me a Pizza


If this was helpful, hit the like button and accept the solution.
Thanks

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me -sangeetarahuldhiman@gmail.com - Skype: live:sangeetarahuldhiman -Whatsapp: +917009811712
Checkout Some Free Sections Here
sofiakarkus
Tourist
26 1 4

Hi, thank you for your reply. I tried using this code, but unfortunately, it doesn't offer a solution. I want to make the dropdown menu bold, as it is in the desktop version. Is there any way to do this?

Sangeetanahar
Excursionist
292 19 40

hello @sofiakarkus 

Go to online store ----> themes ----> actions ----> edit code ---->assets....>theme.css>

add this code at the bottom of the file

.mobile-menu__item a.mobile-navlink {
    font-weight: bold;
}

30cd1485-3407-4908-b7b7-1b9a8fb64c5b.png

Buy me a Pizza


If this was helpful, hit the like button and accept the solution.
Thanks

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me -sangeetarahuldhiman@gmail.com - Skype: live:sangeetarahuldhiman -Whatsapp: +917009811712
Checkout Some Free Sections Here