Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1015393
    Jennifer P
    Participant

    Hi, I followed this thread: https://community.theme.co/forums/topic/product-image-size-settings-missing-in-woocommerce-product-options/ and installed the function recommended to be able to control the product thumbnail size.

    This added back the product image settings, BUT, the problem is now two images are showing where one should be: http://www.qboxmonthly.com/temp/shop/

    I really just want to be able to have the image thumbnails be the same height in the product grid without being cropped. Any ideas?

    #1015394
    Thai
    Moderator

    Hi There,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link login to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks.

    #1015395
    Jennifer P
    Participant

    I’m now trying to modify this CSS to change the image size. However, instead of a proportional change it is stretching the image:

    .woocommerce li.product .entry-featured img

    #1015435
    Rupok
    Member

    Hi there,

    Kindly clarify what you are trying to achieve. A screenshot would be appreciated.

    Thanks

    #1016699
    Jennifer P
    Participant
    This reply has been marked as private.
    #1016703
    Jennifer P
    Participant

    On the checkout page, my images are cropped.

    On any product page where I try to pull in the data through a shortcode, it pulls in the full-size image instead of a thumbnail.

    When I installed the function to add back in the Product Image Dimensions and used those dimensions, I ended up with 2 images for each product on my product page. And the thumbnails that were generated are cropped as the image is on the checkout page.

    Can I make my own thumbnails, upload them via FTP and overwrite the generated thumbnails?

    #1016705
    Jennifer P
    Participant

    And one more screenshot:

    #1016709
    Thai
    Moderator

    Hi There,

    Please try with this CSS:

    .woocommerce li.product .entry-featured img {
        max-height: 340px;
        width: auto;
        min-width: auto;
        margin: 0 auto;
        display: block;
    }

    Hope it helps πŸ™‚

    #1017149
    Jennifer P
    Participant

    Unfortunately, this doesn’t work. It stretches the images out instead of maintaining their aspect ratio. See the attached screenshot. Any other ideas?

    and did you have any thoughts about how to fix the cart images that are cropped?

    #1017287
    Jennifer P
    Participant

    Okay, so replacing image thumbnails via FTP worked for my cart images.

    Still having issues with the Product page stretching.

    #1017529
    Christopher
    Moderator

    Hi there,

    Please update your code to :

    .woocommerce li.product .entry-featured img {
        max-width: auto;
        min-width: auto;
        margin: 0 auto;
        display: block;
        width: 50%;
    }
    .woocommerce li.product .entry-featured {
        height: 285px;
    }

    Hope it helps.

    #1018697
    Jennifer P
    Participant

    That fixed it! Thanks so much!

    #1018955
    Friech
    Moderator

    We’re delighted to assist you with this.

    Cheers!

  • <script> jQuery(function($){ $("#no-reply-1015393 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>