Jump to content

How do I put blocks side-by-side on mobile using CSS?

Recommended Posts

Posted

Site URL: https://k2.life

Recent-Customers.jpg

This is how it looks on a desktop version, how would I go about making two images at a time to show? Also is it possible to make the "Some of Our Recent Customers" to display at the beginning rather than the middle.

  • Replies 2
  • Views 1.5k
  • Created
  • Last Reply
Posted

Add to Home > Design > Custom CSS

@media screen and (max-width:767px) {
div#block-yui_3_17_2_1_1595186156795_77770+.row>.col {
    width: 50% !important;
    float: left !important;
}
div#block-yui_3_17_2_1_1595191726115_37578+.row>.col {
    width: 50% !important;
    float: left !important;
}
div#page-section-5f149bf940592a3871aa45ab .span-12>.row:nth-child(4)>.col {
    width: 50% !important;
    float: left !important;
}
}

 

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
4 hours ago, tuanphan said:

Add to Home > Design > Custom CSS


@media screen and (max-width:767px) {
div#block-yui_3_17_2_1_1595186156795_77770+.row>.col {
    width: 50% !important;
    float: left !important;
}
div#block-yui_3_17_2_1_1595191726115_37578+.row>.col {
    width: 50% !important;
    float: left !important;
}
div#page-section-5f149bf940592a3871aa45ab .span-12>.row:nth-child(4)>.col {
    width: 50% !important;
    float: left !important;
}
}

 

Thank you so much! Quick question, how do you identify the page section?

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.