Jump to content

Trying to re-order the mobile layout of blocks so it goes: 1)photo 2)text 3)photo 4)text etc

Recommended Posts

Site URL: https://www.woho.co.uk/news

Hi there, 

I have been trying to find a solution for a problem I have been having on my news page whilst being viewed on mobile. It shows this order as you scroll down in a single column:

1-Picture   2-Text   3-Text   4-Picture   5-Picture   6-Text   7-Text   8-Picture   9-Picture   10-Text

When the order I want it to be is:

1-Picture   2-Text   3-Picture   4-Text   5-Picture   6-Text   7-Picture   8-Text   9-Picture   10-text

it seems that this is a common problem that is well documented on this forum but all the CSS code I have tried from others who have had the problem resolved doesn't seem to be working for me. 

Hope you can help me, 

Thank you!

Link to comment
  • Replies 2
  • Views 146
  • Created
  • Last Reply

Add to Home > Design > Custom CSS

/* swap order text image */
@media screen and (max-width:767px) {
div#block-yui_3_17_2_1_1600522508934_65244+.row, div#block-yui_3_17_2_1_1600522508934_147032+.row {
    display: flex;
    flex-direction: column-reverse;
}
}

 

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

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.