Jump to content

Change text block order in mobile view

Recommended Posts

  • Replies 2
  • Views 338
  • Created
  • Last Reply
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)
🗓️ 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 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

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.