hemastyles Posted September 28, 2022 Share Posted September 28, 2022 Site URL: https://www.hemastyles.com/ I've tried all the codes available online but can't seem to get it to work. I want my products or the earrings page on mobile site to display two columns of products instead of being stacked. Thank you. Link to comment
Ziggy Posted September 28, 2022 Share Posted September 28, 2022 Have you tried this code? It works perfectly when I've used it. https://www.rebeccagracedesigns.com/blog/products-side-by-side-mobile /* 2 Column Product Grid */ @media only screen and (max-width:640px) { .products .list-grid { display: flex; flex-wrap: wrap; justify-content: space-between; } .products .grid-item { width: 48%; } } You may want to adjust your font sizes once applying this. Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link)📈 SEO Space (Referral link)⬛ SquareWebsites Plugins (Referral link)☕ Did I help? Buy me a coffee? Link to comment
tuanphan Posted September 30, 2022 Share Posted September 30, 2022 Just tried above code & it doesn't work. You can try this code /* products mobile 2 columns */ @media screen and (max-width:767px) { .products.collection-content-wrapper .list-grid { display: grid; grid-template-columns: repeat(2,1fr); grid-gap: 10px; } .list-grid .grid-item .sqs-add-to-cart-button { width: auto !important; min-width: unset !important; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care 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