Hello all,
I want to resize the height of the product image and text font to make them smaller on the product page.
My store URL: https://u7yeji-na.myshopify.com/
A Shopify store owner seeks to reduce the height of product boxes and adjust text sizing on their product pages.
Initial Request:
Solutions Offered:
Two community members provided CSS-based solutions:
</body> tagClarification:
The original poster clarified they want to reduce the overall product box height, not just the product image itself. Included a new screenshot to illustrate the specific area needing adjustment.
Status: The discussion remains open as the initial solutions didn’t fully address the clarified requirement for reducing the product box container height.
Hello all,
I want to resize the height of the product image and text font to make them smaller on the product page.
My store URL: https://u7yeji-na.myshopify.com/
Hey @Mamdouh_USD
Follow these Steps:
Go to Online Store
Edit Code
Find theme.liquid file
Add the following code in the bottom of the file above tag
RESULT:
If I managed to help then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hello there!
Ian here from Fast Bundle.
Here’s what you can do:
/* Resize product image */
.product__media img {
max-height: 300px; /* Adjust this number as needed */
object-fit: contain;
}
/* Resize product title */
.product__title {
font-size: 22px; /* Change to your desired size */
}
/* Resize product price */
.price {
font-size: 18px;
}
/* Resize product description */
.product__description {
font-size: 16px;
}
So sorry but I want to make the height of product box smaller not the product image. Hope you can help.