How to set products number per row differently between Dexktop, Tablet, Mobile ?

Solved7 replies3 participantsUpdated by Tony Rodriguez

  • Avatar: Brunos
    Brunos
    Participant

    Hello,
    I’m very confused. I don’t understand how to set the number of products per row in the shop. I would like only one product per row for the mobile version.
    I entered 1 in the configuration (see image), but I still have two products.

    Regards

    Please, contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.

    7 Answers

    Avatar: Samir Malik
    Samir Malik
    Support staff

    Hello,

    Please try adding this custom CSS under XStore > Theme Options > Theme Custom CSS > Global CSS:

    
    @media only screen and (max-width: 480px) {
        body .products-grid .product {
            width: 100%;
        }
    }
    

    Kind regards,
    The 8Theme Team

    Avatar: Brunos
    Brunos
    Participant

    This code does not work.
    However, why does it not work in the Xstore configuration despite my settings being set to 1?

    Avatar: Brunos
    Brunos
    Participant

    Forget the last message, it’s working now (maybe a cache issue…).
    However, I’d like to understand: how do I set the number of products per row according to the interface (mobile, desktop, tablet)?

    Avatar: Samir Malik
    Samir Malik
    Support staff

    Hello,

    There are no settings that need to be changed on each device.

    Currently, the configuration is set for desktop, and there are some default CSS styles that control the columns on tablet devices.

    Could you please let us know how many products per row you would like to display on tablets? We can then provide you with the appropriate custom CSS code.

    Best regards,
    8Theme Team

    Avatar: Brunos
    Brunos
    Participant

    I wanted to know if there was a simple way to make future changes via the dashboard. And because I like to understand things.
    The current configuration with your new CSS code suits me for now.

    Regards

    Avatar: Brunos
    Brunos
    Participant

    Thanks for the support! My topic “How to set products number per row differently between Dexktop, Tablet, Mobile ?” has been successfully resolved.

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff

    Dear Brunos,

    It’s great having you in our WordPress & WooCommerce community!

    Every insight you share helps us refine XStore and build tools that empower thousands of online store owners worldwide.

    Together, we grow stronger with every release.

    Topic closed.
    The 8Theme Team

The issue related to '‘How to set products number per row differently between Dexktop, Tablet, Mobile ?’' has been successfully resolved, and the topic is now closed for further responses