Hey everyone,
Hope you’re all doing well.
I’m having a bit of a headache with product image sizes. I’m trying to get a consistent look on my homepage product grid, but it’s proving tricky.
The problem is I’ve got a mix of portrait and landscape product photos, and I want them to display nicely without looking stretched or squashed. Ideally, I’d like all the image containers to be roughly the same size, so the grid looks clean and tidy, but the images inside should retain their original aspect ratio, ideally with empty space either on the top/bottom for landscape images, or on the sides for portrait images.
I’ve played around with the WooCommerce settings a bit, but haven’t quite cracked it. Has anyone else dealt with this? Any tips or CSS tricks that could help me get these images looking sharp and uniform?
Any help would be greatly appreciated!
Thanks in advance!