Jump to content

Need to make custom mobile layout

Recommended Posts

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 plugin
If 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

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
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

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 by Beyondspace
Fix for space on some 50% items

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 plugin
If 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

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.