Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

how to stack product blocks on home page in rows of two on mobile site


jjstapp2323

Question

Site URL: https://www.joshuajohnsonclothes.com/

Im wondering if there is anyway that I would be able to stack product blocks on my home page in rows of two instead of one on top of the other on mobile. Im also having a problem with my grid masonry being centered in mobile view. I put in some code to get it to stack on top of each other but it seems it may have caused it to be slightly off center. Any help is greatly appreciated.  My cite password is Millydog!8

Link to comment
  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

4 answers to this question

Recommended Posts

  • 0
15 hours ago, jjstapp2323 said:

Site URL: https://www.joshuajohnsonclothes.com/

Im wondering if there is anyway that I would be able to stack product blocks on my home page in rows of two instead of one on top of the other on mobile. Im also having a problem with my grid masonry being centered in mobile view. I put in some code to get it to stack on top of each other but it seems it may have caused it to be slightly off center. Any help is greatly appreciated.  My cite password is Millydog!8

Is it what you mean with the masonry gallery?

image.png.c6d95ef0b99551b1e56d85ff3fbcf719.png

Greeting, it's BaNgan from 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, Youtube Gallery for Squarespace
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
  • 0

@jjstapp2323 Add to Design > Custom CSS

/* Mobile Homepage Products */
@media screen and (max-width:767px) {
div#page-section-615f7298b3658e4fa2ac9fd6 .span-3 {
    width: 50% !important;
    float: left !important;
}

div#page-section-615f7298b3658e4fa2ac9fd6 .span-3:nth-child(2n+1) {
    clear: left;
}
}

 

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
  • 0
45 minutes ago, tuanphan said:

@jjstapp2323 Add to Design > Custom CSS

/* Mobile Homepage Products */
@media screen and (max-width:767px) {
div#page-section-615f7298b3658e4fa2ac9fd6 .span-3 {
    width: 50% !important;
    float: left !important;
}

div#page-section-615f7298b3658e4fa2ac9fd6 .span-3:nth-child(2n+1) {
    clear: left;
}
}

 

thank you that worked!!

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