Jump to content

Change text block order in mobile view

Recommended Posts

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;
      }
}

 

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
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!!

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.