Jump to content

How to change order of blocks on mobile view?

Recommended Posts

Do any of you guys know a solution for how to rearrange blocks for mobile?

My site currently has <IMAGE TEXT> <TEXT IMAGE> <IMAGE TEXT>

But I'd like the mobile view to be <IMAGE TEXT> <IMAGE TEXT> <IMAGE TEXT>

disc-caper-gap6.squarespace.com (password tony)

Link to comment
  • Replies 10
  • Views 2.8k
  • Created
  • Last Reply
  • 7 months later...
17 minutes ago, iamraag said:

@tuanphan That didn't work for me. Here's my website - https://www.madebydot.tv/
 

I'm having issues with the 'Featured work' section of my website. I like how it is on the desktop, but on mobile, I want this specific order - 

Project GIF > Title > Description > View Project button > Spacer (and then the next project thumbnail)

Would really appreciate some help! 

Add to Custom CSS

/* featured work */
@media screen and (max-width:767px) {
div#page-5fdeee8cc18bd5077cac6b50>.row:nth-child(2) {
    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
15 minutes ago, iamraag said:

@tuanphan Thank you! That only worked for the very first block though (you can check my website now), how do I make sure it applies to all? 

I added the text to Home > Design > Custom CSS. 

I see 2 feature work projects & looks fine here?

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

Add this code

@media screen and (max-width:767px) {
div#block-yui_3_17_2_1_1608630180737_34906+.row, div#block-yui_3_17_2_1_1608452593373_158208+.row, div#block-yui_3_17_2_1_1608452593373_278908+.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.