Guest Posted August 18, 2021 Posted August 18, 2021 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; } }
tuanphan Posted August 18, 2021 Posted August 18, 2021 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!)
Guest Posted August 18, 2021 Posted August 18, 2021 @tuanphan Thank you so much!!! div#page-section-610875f8453cf233243633d4 .span-6 p:empty { display: none; }
Recommended Posts
Archived
This topic is now archived and is closed to further replies.