Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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!

    #617818

    Hey 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!
    Yigit

    #618366

    Hi 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

    #619858

    Hey!

    try this code in Quick CSS field:

    #top .product div.images img {
    width: 450px !important;
    max-width: 450px !important;
    }
    

    Cheers!
    Andy

    #620040

    Hi 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

    #621324

    Hi!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .single-product-main-image {
        width: 44%;
    }

    Regards,
    Yigit

    #984594

    hei 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

    #984739

    Hi hunter74,

    This thread is more than 2 years old and I’m not sure I understand what you are referring to. Please open a new thread and try to explain your problem a bit further.

    Best regards,
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘WooCommerce product image size’ is closed to new replies.