missleattak
New Coder
This code was working for the last year until it wasn't a few days ago. I hadn't changed anything on my site and I can't get it to work again. I want the products on my website to be in rows/columns of 2 while on mobile. Currently they are all pushed to the left. I can't figure out why it isn't working.
/* 2 Column Product Grid */
@media only screen and (max-width:768px)
{
.products .list-grid {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.products .grid-item {
width: 48%;
}
}
/* 2 Column Product Grid */
@media only screen and (max-width:768px)
{
.products .list-grid {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.products .grid-item {
width: 48%;
}
}