Jump to content

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

Go to solution Solved by tuanphan,

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
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?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.