Jump to content

How to swap image and text order for mobile view

Recommended Posts

Site URL: https://www.designedbyemi.com/brand-website-design-services

Hi! 

I was wondering if someone can help me rearrange the blocks in the 'How It Works' section (namely 02. Design Process)?

As we all know that on mobile, the text will appear before the image, and I would ideally like to know how to rearrange it so the image appears before the text on mobile, like 01. Pre-Design would.

Thank you :)

 

SITE URL: https://www.designedbyemi.com/brand-website-design-services

PASSWORD: dbe

Screenshot 2020-05-02 at 5.28.04 PM.png

Link to comment
  • Replies 4
  • Views 1.4k
  • Created
  • Last Reply

So this code should work for you, stick it in the Design > Custom CSS section

@media all and (max-width: 640px){
 #p-rocess{
   .sqs-layout > .row:nth-of-type(6){
    display: flex;
     flex-direction: column-reverse;
   }
  }
}

 

Link to comment
2 hours ago, JoeCory said:

So this code should work for you, stick it in the Design > Custom CSS section


@media all and (max-width: 640px){
 #p-rocess{
   .sqs-layout > .row:nth-of-type(6){
    display: flex;
     flex-direction: column-reverse;
   }
  }
}

 

Worked perfectly, thank you JoeCory!!

Link to comment
  • 9 months later...
On 2/17/2021 at 1:45 AM, awk said:

Hi there, 

I tried using this custom CSS for our site, but can't seem to get it to work. I need it for this specific page on our site. Any advice?

https://www.taylergroup.com/team-copy-for-mobile-test

You want

text - image - text - image

or

image - text - image - text?

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.