Jump to content

Change text block order in mobile view

Recommended Posts

  • Replies 2
  • Views 466
  • Created
  • Last Reply
Posted
16 hours ago, devquercus said:

Site URL: https://www.theoak.digital/

Hey everyone. I'm working on the following web site

https://www.theoak.digital/

and I want to reorder the text in green boxes only for the mobile view. (The title should be first and the the paragraph)

I've seen some other related questions but I could make it to work properly.

 

Can anyone help me on this?

try

@media only screen and (max-width: 768px) {
      section[data-section-id="604cf0470df88f5b73adb808"] .sqs-col-12 .sqs-row {
        display: flex;
        flex-wrap: wrap;
      }
      section[data-section-id="604cf0470df88f5b73adb808"] .sqs-col-12 .sqs-row .sqs-col-6 {
        order: 2
      }
      section[data-section-id="604cf0470df88f5b73adb808"] .sqs-col-12 .sqs-row .sqs-col-5 {
        order: 1;
      }
}

 

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
On 3/23/2021 at 12:11 PM, bangank36 said:

try


@media only screen and (max-width: 768px) {
      section[data-section-id="604cf0470df88f5b73adb808"] .sqs-col-12 .sqs-row {
        display: flex;
        flex-wrap: wrap;
      }
      section[data-section-id="604cf0470df88f5b73adb808"] .sqs-col-12 .sqs-row .sqs-col-6 {
        order: 2
      }
      section[data-section-id="604cf0470df88f5b73adb808"] .sqs-col-12 .sqs-row .sqs-col-5 {
        order: 1;
      }
}

 

Thank you very much it works!!

Archived

This topic is now archived and is closed to further replies.

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