Tagged: product image, woocommerce
-
AuthorPosts
-
April 20, 2016 at 1:02 am #617815
Hello,
I’ve read articles here about people wanting their product images 450×450 but can’t seem to make it work. I can get it to be 450px in height, but the width seems constrained – perhaps by .single-product-main-image or possibly a template and not CSS?All of our 300+ product images were uploaded at 450×450, but only appearing at ~329×329. What can be done to make the product image the full 450×450?
More details in private contents.
Thanks!
April 20, 2016 at 1:07 am #617818Hey lzevon!
Please go to WooCommerce > Settings > Products > Display and change image sizes and then regenerate thumbnails using this plugin – https://wordpress.org/plugins/regenerate-thumbnails/
Cheers!
YigitApril 20, 2016 at 3:15 pm #618366Hi Yigit,
I mentioned I looked at the older posts you had. From the time I installed the images sizes were set in Woo and all images uploaded at 450×450. Could there be another issue? I can see the image at 450 tall when I set the min-height for that class, I just can’t get the width I need, assuming because it’s within a container I can’t seem to identify that’s restricting it’s width?Thank you
April 22, 2016 at 12:35 pm #619858Hey!
try this code in Quick CSS field:
#top .product div.images img { width: 450px !important; max-width: 450px !important; }
Cheers!
AndyApril 22, 2016 at 3:58 pm #620040Hi Andy,
Yes, that gives me the height, but I can not get the width because it seems to be constrained by a container perhaps? See the attached. I have several ways to obtain the 450px high, but have not been able to figure out how to get the width?Thank you
April 25, 2016 at 2:28 pm #621324Hi!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.single-product-main-image { width: 44%; }
Regards,
YigitJuly 12, 2018 at 10:35 am #984594hei hei, maybe after the new customizer everything changed – but I need the shop_catalogue size in the array to customize.
this is not working anymore:
https://www.cmc-modell-autos.de/wp-content/uploads/2018/05/m-107-001_01-400x175.jpg
July 12, 2018 at 1:42 pm #984739 -
AuthorPosts
- The topic ‘WooCommerce product image size’ is closed to new replies.