Jump to content

How do i change the order of the blocks on the homepage for mobile? I have tried a couple of things.

Recommended Posts

4 hours ago, riogoodie said:

Site URL: http://riogood.com/

Hi there,

As you can see on the home page on the computer, the text block of "Food for All" is next to the image block of the "basket". On mobile it lists all these things on top of each other. How could I have the image block of the "basket" next to the "Food for All" text block? (For Mobile) Like so, see attached.

Thanks for any help!

Screen Shot 2021-12-25 at 1.36.45 PM.png

Try adding to Home > Design > Custom Css

@media only screen and (max-width: 767px) {
  section[data-section-id="601b1b2d5faae6690a301f45"]  .sqs-layout  > .row > .col > .row {
    position: relative;
  }
  section[data-section-id="601b1b2d5faae6690a301f45"]  .sqs-layout  > .row > .col > .row  > .col:nth-child(3) {
    position: absolute;
    top: 17px;
    right: 0;
    width: 70% !important;
  }
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

Edited by bangank36

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
On 12/25/2021 at 6:08 PM, bangank36 said:

Try adding to Home > Design > Custom Css

@media only screen and (max-width: 767px) {
  section[data-section-id="601b1b2d5faae6690a301f45"]  .sqs-layout  > .row > .col > .row {
    position: relative;
  }
  section[data-section-id="601b1b2d5faae6690a301f45"]  .sqs-layout  > .row > .col > .row  > .col:nth-child(3) {
    position: absolute;
    top: 17px;
    right: 0;
    width: 70% !important;
  }
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

Hi bangank73, 

It worked! Thank you for your help 😄

 

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.