Jump to content

Swap text and image for mobile view

Recommended Posts

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

2 hours ago, PapaJoe said:

Site URL: https://aural.squarespace.com

URL: https://aural.squarespace.com

URL 2: https://aural.squarespace.com/about

PW: aural 

I want Image to come before text on the mobile view on 2 pages on my website. Currently its the text that show up first.

You can try

@media only screen and (max-width: 767px) {
  section[data-section-id="629922dea3a07d4a11b6d3ce"] .sqs-layout > .row {
    display: flex;
    flex-direction: column;
  }

  section[data-section-id="629922dea3a07d4a11b6d3ce"] .sqs-layout > .row > .span-5 {
    order: 1
  }

  section[data-section-id="629922dea3a07d4a11b6d3ce"] .sqs-layout > .row > .span-7 {
    order: 2
  }
}

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 format)
💫 Animated Buttons (Referral URL)
🥳 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

My testing

image.png.ded46903c4090f851c46fb38bdfdfd32.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 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
10 hours ago, bangank36 said:

You can try

@media only screen and (max-width: 767px) {
  section[data-section-id="629922dea3a07d4a11b6d3ce"] .sqs-layout > .row {
    display: flex;
    flex-direction: column;
  }

  section[data-section-id="629922dea3a07d4a11b6d3ce"] .sqs-layout > .row > .span-5 {
    order: 1
  }

  section[data-section-id="629922dea3a07d4a11b6d3ce"] .sqs-layout > .row > .span-7 {
    order: 2
  }
}

Let me know how it works on your site

Thanks, It worked for the home page but the About page didn't work - 

URL 2: https://aural.squarespace.com/about

PW: aural 

Link to comment
19 hours ago, PapaJoe said:

Thanks, It worked for the home page but the About page didn't work - 

URL 2: https://aural.squarespace.com/about

PW: aural 

Use this code for About Page

/* Mobile About Page */
@media screen and (max-width:767px) {
div#page-section-62992562c245f024ecf1237e .span-12>.row {
    display: flex;
    flex-direction: column-reverse;
}
}

 

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
17 hours ago, tuanphan said:

Use this code for About Page

/* Mobile About Page */
@media screen and (max-width:767px) {
div#page-section-62992562c245f024ecf1237e .span-12>.row {
    display: flex;
    flex-direction: column-reverse;
}
}

 

Thanks, it 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...

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.