How to set the aspect ratio of WooCommerce products to 4:3? Default is 1:1

Hi everyone, working on a website and I want to change the default product aspect ratio to 4:3 from 1:1.

Please let me know if anyone has a solution.

Hi Daniel,

Thank you for reaching out to us. You can change the aspect ratio to 4:3 or any custom ratio via Appearance > Customize > WooCommerce > Product Images. Here you can select Custom under Thumbnail cropping and set it to 4:3 (see screenshot)

image

You need to regenerate the thumbnails once you change the image sizes. You can use Regenerate Thumbnails from the WordPress repository to regenerate the images after changing the sizes.

You can get more details on the WooCommerce image size changes here in this article: https://theme.co/docs/woocommerce-images-size-changes

Hope this helps!

Super!! Thanks a million, it worked!

You’re more than welcome, glad we could help.

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.