[Resolved] Woocommerce product heights issue

Home Forums Support [Resolved] Woocommerce product heights issue

Home Forums Support Woocommerce product heights issue

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #994755
    Greg

    Any ideas how I can fix the heights issue of different products?

    #994784
    David
    Staff
    Customer Support

    Hi there,

    go to Customizer > Woocommerce and make an adjustment to the Thumbnail Width say 360px. And then update the Customizer. This should rebuild the thumbnails.

    #994826
    Greg

    Hi David, the problem is the height. Not the width. Did you check the site and see the different products? Some are very tall and others not. It looks terrible.

    #994890
    David
    Staff
    Customer Support

    This is because all your images are different aspect ratios. Ideally you want them all to be the same. If not possible – then try this CSS to force them:

    .woocommerce ul.products li.product a img {
        height: 250px;
        object-fit: contain;
    }
    #995155
    Greg

    Looks like it solved it. Thank you.

    #995199
    David
    Staff
    Customer Support

    Glad to be of help.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.