This topic has 11 replies, 2 voices, and was last updated 1 years, 6 months ago ago by i-Visio
Hi,
we would like to have product images at the same size, how can we do that ?
Thanks
Hello i-Visio,
Thank you for getting in touch with us.
Please read about product images here – https://www.8theme.com/documentation/xstore/woocommerce/product-images/
It is recommended to use a graphics editor and prepare product images (make them the same size) before uploading images to your media gallery, or you can try to enable Crop via mentioned WooCommerce settings.
Also, it would be better to disable “Stretch product images option” option via Theme Options.
Best Regards,
8Theme’s Team
we already did that.
What’s bothering us is mostly the height difference when displaying products in a list.
Is there a way to make them all the same height regardless of the image height ?
Hello i-Visio,
Private Content
Best Regards,
8Theme’s Team
We cannot prepare them before they get uploaded automatically from an api.
We just want to make the product display on a product list have the same height, we don’t care about the image
Hello i-Visio,
In this case, you can activate the Crop option – https://prnt.sc/OPd9Hp5kq4ZL
Best Regards,
8Theme’s Team
We can’t set a fixed height for the product box ?
Hello i-Visio,
You can try the next custom CSS code:
.content-product .product-content-image img {
max-height: 240px !important;
min-height: 240px !important;
}
Best Regards,
8Theme’s Team
Thanks, but this code stretches the images a bit, can’t it just put space between the image and the title so that it’s aligned with the product that has the highest height in the line ?
Hello i-Visio,
Please try code from this topic – https://www.8theme.com/topic/woocommerce-product-widget-line-height-limitation/
If this doesn’t give the desired result, we would recommend you contact support of WooCommerce plugin – https://wordpress.org/support/plugin/woocommerce/ , because the current situation is independent of the theme activated on your site.
Best Regards,
8Theme’s Team
that works thanks !
The issue related to '‘Unify product image size’' has been successfully resolved, and the topic is now closed for further responses