Jump to content

Reordering display on mobile/tablet

Go to solution Solved by tuanphan,

Recommended Posts

Site URL: https://www.mairi-helena.squarespace.com

Password: test

Looking for some advice on re-ordering the following elements on mobile/tablet.

  1. Displaying three images side-by-side on mobile/tablet on all product pages. Is there a way to target them all? It's the three coloured swatches. See here: mairi-helena.squarespace.com/shop/p/hidden-garden-wallpaper
  2. Display two product blocks side-by-side on mobile/tablet on homepage. It's in the section "From vibrant statement prints to coordinating plains" (they should follow the same format as the summary block display on mobile). See here: mairi-helena.squarespace.com

Thanks in advance! 😃

Link to comment
21 hours ago, merakiconceptstudio said:

Site URL: https://www.mairi-helena.squarespace.com

Password: test

Looking for some advice on re-ordering the following elements on mobile/tablet.

  1. Displaying three images side-by-side on mobile/tablet on all product pages. Is there a way to target them all? It's the three coloured swatches. See here: mairi-helena.squarespace.com/shop/p/hidden-garden-wallpaper
  2. Display two product blocks side-by-side on mobile/tablet on homepage. It's in the section "From vibrant statement prints to coordinating plains" (they should follow the same format as the summary block display on mobile). See here: mairi-helena.squarespace.com

Thanks in advance! 😃

1. Try adding to Home > Design > Custom Css

@media only screen and (max-width: 767px) {
  .ProductItem-additional .sqs-block-product  + .row > .span-6 > .row > .span-2 {
    width: 30% !important;
  }

  .ProductItem-additional .sqs-block-product  + .row > .span-6 > .row {
    display: flex;
    justify-content: space-evenly;
  }
}

Let me know how it works on your site

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

2. Is it the result you want to achieve on mobile? I checked that the tablet is fine at the moment

image.png.56d3e74f267b5ccd284ae78b90f5321a.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
2 hours ago, bangank36 said:

1. Try adding to Home > Design > Custom Css

@media only screen and (max-width: 767px) {
  .ProductItem-additional .sqs-block-product  + .row > .span-6 > .row > .span-2 {
    width: 30% !important;
  }

  .ProductItem-additional .sqs-block-product  + .row > .span-6 > .row {
    display: flex;
    justify-content: space-evenly;
  }
}

Let me know how it works on your site

You are amazing! Thank you! It works perfectly.

Link to comment
  • Solution
On 2/9/2022 at 12:58 AM, merakiconceptstudio said:

I would like it to look like the section above, "Trending styles". See attached how that shows on mobile.

IMG_71DD13375CA8-1.jpeg

#2. Add to Design > Custom CSS

/* Mobile - From vibrant */
@media screen and (max-width:767px) {
div#page-section-61dd61144aab154033bd6897 .span-12>.row>.span-3 {
    width: 50% !important;
    float: left !important;
}
}

 

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

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.