Shopify themes, liquid, logos, and UX
Hi, i would like to make the product title on the mobile version smaller to about 2rem. How do i do this?
My website is: https://vinup.nl/en/products/vinyl-record-rack
Many thanks
Solved! Go to the solution
This is an accepted solution.
Hi there @VinUp
I suggest you follow these steps:
Go to Online Store -> Themes -> Actions -> Edit code.
Go Assets folder -> theme.liquid file.
Add the following code in the bottom of the file above </body> tag
<style> @media only screen and (max-width: 747px){ .product-grid .card__heading { font-size: 12px; } .product-grid .quick-add__submit { font-size: 10px; } #MainContent .product__title h1 { font-size: 18px!important; } } </style>
Let me know if this works for you!
Hello @VinUp
Go to online store ----> themes ----> actions ----> edit code ----> base.css
add this code at the end of the file and save.
.product__title h1 {
font-size: 2rem !important;
}
result
If this was helpful, hit the like button and accept the solution.
Thanks
Hi thanks, how do i make it for the mobile version only?
add this code in base.css
@media screen and (max-width: 968px) {
.product__title h1 {
font-size: 2rem !important;
}
}
<style>
.product__title h1 {
font-size: 2rem !important;
}
</style>
Go to online store ----> themes ----> go to three Dots ----> edit code ---->find theme.liquid files ----> place the code ---->
under the <style> tag before the body ----->
if this code work please do not forget to like and mark it solution
This is an accepted solution.
Hi there @VinUp
I suggest you follow these steps:
Go to Online Store -> Themes -> Actions -> Edit code.
Go Assets folder -> theme.liquid file.
Add the following code in the bottom of the file above </body> tag
<style> @media only screen and (max-width: 747px){ .product-grid .card__heading { font-size: 12px; } .product-grid .quick-add__submit { font-size: 10px; } #MainContent .product__title h1 { font-size: 18px!important; } } </style>
Let me know if this works for you!
Do you know how to make the discounted price smaller?
Hello @VinUp,
Here are the steps to apply the necessary changes in your Shopify store:
@media only screen and (max-width: 747px) {
#MainContent .product__title h1 {
font-size: 2rem !important;
}
}
Let me know if you need further assistance!
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025