Home / Forums / WoodMart support forum / Images on product archive are too small – css solution?
Home › Forums › WoodMart support forum › Images on product archive are too small – css solution?
Images on product archive are too small – css solution?
- This topic has 7 replies, 2 voices, and was last updated 1 month, 1 week ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
December 9, 2025 at 4:55 pm #700159
larsnielsengmParticipantImages on product archive are too small
is there a css solution?December 10, 2025 at 11:18 am #700264
Aizaz Imtiaz AwanKeymasterHello,
You can find it under Appearance >> Customize >> WooCommerce >> Product Images.
You can define the “height” of the shop thumbnails by setting up the width : height aspect ratio in the “Thumbnail cropping” section:
Custom: In Custom, you can select the aspect ratio of the image.
Here are some of the popular aspect ratios (1:1, 5:4, 4:3, 3:2, 16:9 and 3:1).
Uncropped: The height of the image will be untouched. Images will be displayed using the aspect ratio in which they were uploaded: https://ibb.co/6mR6DbD
Please check this manual: https://xtemos.com/docs-topic/image-size-and-content-alignment-in-a-product-grid/
Best Regards,
December 10, 2025 at 11:39 am #700271
larsnielsengmParticipantThanks for the reply
But if i set the aspect ratio (3:6), that shows the image – see the url sent earliger
– Now it shows the entire image, but the image is VERY tallIs there a way to maintain the aspect 3:6, but set a max height? …. (… woocommerce only sets max-width)
December 10, 2025 at 11:42 am #700272
larsnielsengmParticipantOkay I thin I fixed with CSS:
.wd-product :is(.product-image-link,.hover-img) img {
width: 100%;
max-height: 400px;
max-width: 200px;
}setting max-width and max-height
December 10, 2025 at 12:11 pm #700289
larsnielsengmParticipantSorry – it didnt work
It cust wide image wrong – see attachment
December 10, 2025 at 4:00 pm #700351
Aizaz Imtiaz AwanKeymasterHello,
Unfortunately, WooCommerce does not provide a built-in “max height” control for product images when using custom aspect ratios. The image output is controlled only by the aspect ratio (width : height) that you define under:
Appearance > Customize > WooCommerce > Product Images → Thumbnail cropping
When you select a custom ratio like 3:6, WooCommerce forces the image container to strictly follow that ratio, which is why the images appear tall.
To get more balanced image dimensions, we recommend using one of the standard ratios such as:
1:1
4:3
3:2Best Regards,
December 10, 2025 at 5:01 pm #700366
larsnielsengmParticipant… wow … this is no solution, as shown before
it must besolved with css – tell me how?
December 11, 2025 at 10:37 am #700451
Aizaz Imtiaz AwanKeymasterHello,
Sorry to say the images are not customized with Custom CSS Code due to their nature. Your images differ in size considerably. The only way to make the view awesome is to upload images of the same size and proportion.
Best Regards,
-
AuthorPosts
- You must be logged in to create new topics. Login / Register