Display 2 products per line on mobile

Pending
REHub - Price Comparison, Affiliate Marketing, Multi Vendor Store, Community Theme REHub - Price Comparison, Affiliate Marketing, Multi Vendor Store, Community Theme May 27, 2025
Login to reply
Igor Sunz Support Agent
4 days ago
We have layouts with two columns, for example market grid. You can select
in theme options-shop settings
Amit Das
5 days ago

Woocommerce shop and other pages displays 1 product per line in the mobile version, but I want to display 2 products per line, which CSS should I use to customize it for mobile only?

I tried below styles but not worked:

@media (max-width: 480px) {
	.wp-container-core-post-template-layout-1.wp-container-core-post-template-layout-1 {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
}

 Also tried below styles but not worked:

@media (max-width: 480px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    .woo_loop.grid_container {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
    }
    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product,
    .woo_column,
    .woo_column_4,
    .col_item {
        width: 48% !important;
        margin-bottom: 15px !important;
    }
}

Additional Info

Link on page with issue: https://cbshop.in/shop/