Hello
I’m making some customization to how woocommerce products display on mobile / tablet devices.
I see that other people have asked how to make two columns for products on mobile, which is great.
The problem I have however is that the 2 columns display on all screen sizes up to 979px, even though I have the max width set to 480px.
What I would like to achieve is having two columns for screens under 480px, but three columns for 481px - 979px - are you able to help with this? I currently have the shop set to 4 columns for 980px and above and I really like that look.
Here is the code I have used for two columns on mobile, but I can’t figure out how to maintain this code and implement one which forces three columns for 481px - 979px screens.
@media screen and (max-width: 480px) {
.woocommerce .cols-2 li.product, .woocommerce .cols-3 li.product, .woocommerce .cols-4 li.product, .woocommerce.columns-2 li.product, .woocommerce.columns-3 li.product, .woocommerce.columns-4 li.product {
width: 48% !important;
}
