Jump to content

swap image and text order for mobile viewing

Recommended Posts

  • Replies 7
  • Views 645
  • Created
  • Last Reply
3 minutes ago, awk said:

So I'd need to change the code to work with this page then? 


Yep – the code works by targeting the row after each spacer block we include the ID for, so you just swap out the bits between each hashtag and plus sign with the IDs for the blocks on this page. So that code would be:

@media screen and (max-width:640px) {
  div#block-yui_3_17_2_1_1612348299837_249909+.row, div#block-yui_3_17_2_1_1611844728135_430177+.row, div#block-yui_3_17_2_1_1611844728135_62014+.row, div#block-yui_3_17_2_1_1611844728135_350620+.row {
    display: flex!important;
    flex-direction: column-reverse!important;


Link to comment


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.