Jump to content

Reorder blocks in mobile

Recommended Posts

  • Replies 3
  • Views 715
  • Created
  • Last Reply
Posted
On 9/18/2021 at 5:37 AM, Cynthia_CML said:

Site URL: https://www.chicagomagiclounge.com/overlay-test

Hello,

Is it possible for my 'purchase tickets' code block (located in the right column) to be the first block in mobile view (above the headline) using css? 2036596256_ScreenShot2021-09-17at5_35_35PM.thumb.png.96b9daae9af975c9be927b43115d6edf.png520337966_ScreenShot2021-09-17at5_35_47PM.thumb.png.7e72f3ec0015c2a9df9ef167882b8417.png

Add to Design > Custom CSS

@media screen and (max-width:640px) {
div#page-61438cd2a5f5ec2894e0d417>.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!)

Posted
On 9/21/2021 at 2:06 AM, Cynthia_CML said:

Thank you, @tuanphan! Is there any way to make it so that only the Purchase Ticket block is on top, but the rest of the column behaves as normal? See me example below. 585071263_Orderonmobile.thumb.png.352fe86479cc6ebcf642360f0ecb08cb.png

Hi,

The easiest way is add one more butotn above #2 text. Then we will give the code to

  • hide #1 button on mobile
  • hide new button on desktop
  • show new button on mobile only, above #2

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

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.