Jump to content

Swap text and image for mobile view

Recommended Posts

  • Replies 5
  • Views 477
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted
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 - PDF Lightbox popup - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> No-code customisations for Squarespace

Posted
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 

Posted
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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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

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.