Jump to content

Change block order in mobile

Go to solution Solved by tuanphan,

Recommended Posts

  • 1 month later...
On 2/12/2021 at 1:43 AM, SouthernSunEvents said:

Hi @tuanphan,

I'm on the struggle with this too. My blocks on desktop are side by side image then text and in mobile they are resorted all 3 images on top and all 3 text blocks on bottom. I need mobile view to be image - text - image - text

Website is: www.southersunevents.com

Password: sse2020

Screen Shot 2021-02-11 at 8.54.40 PM.png

Screen Shot 2021-02-11 at 8.55.44 PM.png

Add Image - Text

Add a Line Block

Add Image - Text

Add a Line Block

Add Image - Text

Remove all Line Blocks

Then check your site on mobile

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!)

Link to comment
  • 1 month later...

@whoshenry

Add the following to Design > Custom CSS.

/* make image block inline text left/image right, image top/text bottom on mobile */

@media screen and ( max-width : 767px ) {

  [data-section-id="6051f281305a1f21c2b777ba"] .sqs-grid-12 > .sqs-row > .sqs-col-12 > .sqs-row:nth-child( 4n+1 ) {
  
    background-color : blue !important;
    display : flex;
    flex-direction : column-reverse;
    
    }
  }

This is for v7.1 and specific to the poster's need.

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
On 3/26/2021 at 1:48 AM, creedon said:

@whoshenry

Add the following to Design > Custom CSS.


/* make image block inline text left/image right, image top/text bottom on mobile */

@media screen and ( max-width : 767px ) {

  [data-section-id="6051f281305a1f21c2b777ba"] .sqs-grid-12 > .sqs-row > .sqs-col-12 > .sqs-row:nth-child( 4n+1 ) {
  
    background-color : blue !important;
    display : flex;
    flex-direction : column-reverse;
    
    }
  }

This is for v7.1 and specific to the poster's need.

Let us know how it goes.

This works perfectly, thank you very much for your help. Greatly appreciated.

Thanks.

Link to comment
  • 1 month later...
On 5/12/2021 at 2:16 AM, erin2 said:

Hi @tuanphan,

I'm having an issue identifying the target for this code in reference to an index page. I need to switch the order of blocks on mobile for one section of the index page on this site: https://erin-medine.com/home.

I need it to go 

1.picture of leaf

2.my wishlist

3.picture of blonde girl

4.Faq and etiquette

 

thanks for any help!

Can you check site url?

image.thumb.png.224bad66a3335c8336008c15cc06af01.png

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!)

Link to comment
  • 2 weeks later...

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.