alexvizniuk Posted November 22, 2022 Share Posted November 22, 2022 (edited) Hi. I am looking to make a custom mobile layout. The products should be sorted out in 2 different sets. First, there is 4 products in one vertical row, then 8 products in one vertical row(2 products in one horizontal). And then, repeat. I attached the example below. Thank you so much. IMG_5678.MP4 Edited November 22, 2022 by alexvizniuk Link to comment
Beyondspace Posted November 22, 2022 Share Posted November 22, 2022 I think we could implement some css code to set on the product collection page Can you share your site with the protected password so I can take a look? Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
Ziggy Posted November 22, 2022 Share Posted November 22, 2022 Here's a good resource for putting your store into two columns: https://insidethesquare.co/squarespace-tutorials/2-column-mobile-store 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
alexvizniuk Posted November 22, 2022 Author Share Posted November 22, 2022 1 hour ago, Beyondspace said: I think we could implement some css code to set on the product collection page Can you share your site with the protected password so I can take a look? https://www.vizniuk.com/ Link to comment
alexvizniuk Posted November 22, 2022 Author Share Posted November 22, 2022 2 hours ago, Beyondspace said: I think we could implement some css code to set on the product collection page Can you share your site with the protected password so I can take a look? right now, i do have a layout like that, but it is not repeated. how can i change that? /* Shop Page - Mobile Layout */ @media screen and (max-width:767px) { .products.collection-content-wrapper .list-grid { display: block !important; } .products.collection-content-wrapper .list-grid .grid-item:nth-child(n+5), .products.collection-content-wrapper .list-grid .grid-item:nth-child(n+17) { width: 50% !important; float: left !important; } .products.collection-content-wrapper .list-grid .grid-item:nth-child(2n+1) { clear: left !important; } .products.collection-content-wrapper .list-grid .grid-item:nth-child(n+13) { clear: both !important; width: 100% !important; }} Link to comment
Beyondspace Posted November 23, 2022 Share Posted November 23, 2022 (edited) Here is the code you can try adding to Home > Design > Custom Css @media only screen and (max-width: 767px) { .products.collection-content-wrapper .list-grid .grid-item { width: 50% !important; float: left !important; } .products.collection-content-wrapper .list-grid .grid-item:nth-child(12n + 7){ clear: left !important; } .products.collection-content-wrapper .list-grid .grid-item:nth-child(12n + 1), .products.collection-content-wrapper .list-grid .grid-item:nth-child(12n + 2), .products.collection-content-wrapper .list-grid .grid-item:nth-child(12n + 3) ,.products.collection-content-wrapper .list-grid .grid-item:nth-child(12n + 4) { width: 100% !important; } } Support me by pressing 👍 or marking as solution if this useful for you Edited November 23, 2022 by Beyondspace Fix for space on some 50% items tuanphan 1 Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. 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