Same height product boxes - by Martine - on WordPress WooCommerce support

This topic has 4 replies, 2 voices, and was last updated 3 years, 9 months ago ago by Rose Tyler

  • Avatar: Martine
    Martine
    Participant
    February 18, 2021 at 09:38

    Hi!
    Please check this image: https://www.loom.com/i/19cc7f98594942c39acbaa2c443c8ccd

    Is it possible to make all productboxes the same height?

    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 18, 2021 at 09:54

    Hello,

    Try to add the next code in Theme Options > Theme custom CSS:

    .main-products-loop .product, .products-loop .product, .carousel-area .product-slide .product {
        display: flex;
        justify-content: center;
    }
    .products-loop .ajax-content, .products-loop {
        display: flex;
        flex-wrap: wrap;
        flex: 1;
    }
    .content-product {
        flex-direction: column;
        justify-content: space-between;
        display: flex;
        flex: 1;
    }
    .content-product .quantity-wrapper {
        margin-right: auto;
        margin-left: auto;
    }
    .swiper-container {
        display: flex;
        align-items: stretch;
    }
    .product-slide .product {
        display: flex;
        height: 100%;
    }
    .swiper-wrapper {
        height: auto;
    }

    Regards

    Avatar: Martine
    Martine
    Participant
    February 18, 2021 at 10:14

    Yes! That works! Thanks!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 18, 2021 at 10:32

    You’re welcome!

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘Same height product boxes’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.