martom Posted August 11, 2022 Share Posted August 11, 2022 Site URL: https://www.namaomo.com/ Hi can anyone help with mobile/tablet display I want it to show 3 products in line thanks! Link to comment
izzyswebsite Posted August 13, 2022 Share Posted August 13, 2022 It's going to be a tight fit. Not sure if it looks good, but here we go. /* 3 Column Product Grid */ @media only screen and (max-width:650px) { .products.collection-content-wrapper .list-grid { display: flex; flex-wrap: wrap; justify-content: space-between; } .products .grid-item { width: 33%; } } martom 1 Link to comment
tuanphan Posted August 14, 2022 Share Posted August 14, 2022 You can also use Grid (Design > Custom CSS). Number 3 means 3 columns @media screen and (max-width:767px) { .products.collection-content-wrapper .list-grid { display: grid; grid-template-columns: repeat(3,1fr); grid-gap: 10px; } } martom 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment