Product block size - by iceball - on WordPress WooCommerce support

Solved6 replies2 participantsUpdated by iceball

  • Avatar: iceball
    iceball
    Participant

    Hello
    How can I make the product block static by lenght and size? Setting the number of characters of the titile doesn’t work. Some titles are longer and some shorter. https://i.imgur.com/RW4EH97.png

    6 Answers

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    Thanks for using our theme.
    Please provide URL of your site (use Private Content area) , maybe the desired result can be achieved using custom CSS code.

    Regards

    Avatar: iceball
    iceball
    Participant

    Thanks for your answer.

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Add this 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: iceball
    iceball
    Participant

    Thank you! its work good.
    products that have a title line or two go down to the base. can they be raised to the level of the others product?

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    .content-product .product-title a{
        min-height: 70px;
    }

    Regards

    Avatar: iceball
    iceball
    Participant

    Thank you very much!

The issue related to '‘Product block size’' has been successfully resolved, and the topic is now closed for further responses