Display 3 products per row in product page

9 replies2 participantsUpdated by Rose Tyler

  • Avatar: denchauskas
    denchauskas
    Participant

    How to display 3 products in row on products page instead of 1?

    9 Answers

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    Customize > WooCommerce > Product Catalog > Products per row.
    If this is not what you are looking for, describe the request in more detail.

    Regards

    Avatar: denchauskas
    denchauskas
    Participant

    Yeah, sorry, forget to say about screen.
    I need to change products per row on Mobile screens

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    Please provide URL of your shop page.

    Regards

    Avatar: denchauskas
    denchauskas
    Participant

    Website is still in developing, but i added some products just for example

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

    Hello,

    Try to add the next code in Theme Options > Custom CSS > Custom CSS for mobile:

    .products-loop .product {
        width: 33.33% !important;
    }
    .products-loop .product:nth-child(2n+1) {
        clear: none !important;
    }
    .products-loop .product:nth-child(3n+1) {
        clear: both !important;
    }

    Regards

    Avatar: denchauskas
    denchauskas
    Participant

    Works like a charm, thanks! Turned it off on categories page, cause it broke that page.
    How I can make them display in a row too?

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

    Please try this code:

    .products-loop .product-category {
        width: 33.33% !important;
        display: inline-block;
        min-height: 180px;
        margin-bottom: 0 !important;
    }
    .products-loop .categories-mask h4 {
        font-size: 16px;
    }
    .products-loop .categories-mask span, .categories-mask span.more {
        font-size: 10px;
    }
    .products-loop .categories-mask {
        padding: 10px;
    }

    Regards

    Avatar: denchauskas
    denchauskas
    Participant

    Now it`s working perfectly, thanks!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    You’re welcome!

    Regards

Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.

Login / Register