Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

change div order in mobile


Jules68

Question

Site URL: https://www.jabfurniturerehab.com/

pwd is jules

Hi, I have on my home page, 4 sections. The first three are the same type of blocks except the alternate in column ordering.

So section 1 is like:   imageBlock  |  text

section 2 is like :       text  |  imageBlock

section 3 is like:        imageBlock  |  text

When I view it on mobile, section 2 looks funny with the image block under the text.

Can someone tell me if there is a way to force the image in section2 to be first and then the text? 

This is screenshot of desktop:
image.thumb.png.ff233362848a10a531a301cb296f85f3.png

and this is screenshot of mobile:
image.thumb.png.892e1c06559ce9814274e58268754dad.png



thanks in advance.

Link to comment

3 answers to this question

Recommended Posts

  • 0
51 minutes ago, Jules68 said:

Site URL: https://www.jabfurniturerehab.com/

pwd is jules

Hi, I have on my home page, 4 sections. The first three are the same type of blocks except the alternate in column ordering.

So section 1 is like:   imageBlock  |  text

section 2 is like :       text  |  imageBlock

section 3 is like:        imageBlock  |  text

When I view it on mobile, section 2 looks funny with the image block under the text.

Can someone tell me if there is a way to force the image in section2 to be first and then the text? 

This is screenshot of desktop:
image.thumb.png.ff233362848a10a531a301cb296f85f3.png

and this is screenshot of mobile:
image.thumb.png.892e1c06559ce9814274e58268754dad.png



thanks in advance.

Add this to Design->Custom CSS
 

@media only screen and (max-width: 768px) {
  #page-section-600c23504321966fc68baf1a >  .row {
    flex-wrap: wrap;
    display: flex;
  }
   #page-section-600c23504321966fc68baf1a > .row .sqs-col-6:first-child {
    order: 3;
  }
   #page-section-600c23504321966fc68baf1a > .row .sqs-col-6:last-child {
      order: 1;
     width: 100% !important;
  }
}

 

Greeting, it's BaNgan from 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, Youtube Gallery for Squarespace
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
  • 0

image.png.a6f72cb5f05e425808d4129face4a405.png

Greeting, it's BaNgan from 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, Youtube Gallery for Squarespace
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...