I am using following css code to put two products on on line in mobile design
but because of this my mobile view is not showing products in the middle
Tha gap in left side is smaller than the right side
How can I solve this situation ?
I like the product design to be in the middle
https://www.teknolom.com/magaza/
Thank You
@media only screen and (max-width: 736px) {
.avia_textblock pre, .responsive #top #main .products .product {
width: 45.6% !important;
margin: 0 4% 1% 0;
}}
@media only screen and (max-width: 480px){
.responsive #top .av-masonry-entry{width:100%;
width: 45.6% !important;
margin: 0 4% 1% 0;
}
}
Hey volkantuncer,
Thank you for the inquiry.
Try to add this css code to make sure the products are centered.
@media only screen and (max-width: 767px) {
/* Add your Mobile Styles here */
.responsive #top #main .product-sorting.avia-product-sorting+.products {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.responsive #top #main .products .product:nth-child(even) {
margin-right: 0;
}
}
Best regards,
Ismael