How to change my product image size and also font size of product name for mobile version only (Dawn

jessica_0430
Excursionist
57 0 7

hi all,

How to change my product image size and also font size of product name for mobile version only (Dawn)

My url:https://lelundijewelry.com/

PW:13579

Thanks

 

jessica_0430_1-1715733438202.png

 

 

 

Reply 1 (1)

PageFly-Richard
Shopify Partner
4302 977 1630

Hi @jessica_0430 

 

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){
.collection .card__heading {
    font-size: 16px !important;
}
.collection .card__inner.ratio {
    --ratio-percent: 90% !important;
}
}
</style>

You can change the ratio-percent or the font-size pixel value till it match with your requirement

 

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!


PageFly - #1 Page Builder for Shopify merchants.


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