Jump to content

Make Mobile View with Two Columns

Recommended Posts

Posted

Site URL: http://youngpharmacist.com

Hello! 

I am trying to make CSS code so that the page will be shown with two columns on mobile view. Can you please help? 

 

I tried the following but did not work 😞 

@media screen and (max-width:800px) {
  block-yui_3_17_2_1_1627944403450_27534 {
    width: 50% !important;
    float: left !important;
}
}

 

스크린샷 2021-08-17 오후 6.15.04.png

  • Replies 2
  • Views 537
  • Created
  • Last Reply
Posted

Add to Design > Custom CSS

@media screen and (max-width:767px) {
div#page-section-610875f8453cf233243633d4 .span-6 {
    width: 50% !important;
    float: left !important;
}
div#page-section-610875f8453cf233243633d4 .span-6 p:empty {
    display: none;
}
}

 

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

@tuanphan Thank you so much!!! 

div#page-section-610875f8453cf233243633d4 .span-6 p:empty {
    display: none;
}

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.