Ingrid89 Posted May 25, 2021 Share Posted May 25, 2021 Site URL: https://guimauve.nl Hi, I want my products side by side instead of stacks. So two columns. I used this code: @media screen and (max-width:760px) { div#page-section-60acb063f2c8f00460869887>.row>.col>.row>.col> { width: 50% !important; float: left !important; } div#page-section-60acb063f2c8f00460869887 .image-block { padding: 2px; } div#page-section-60acb063f2c8f00460869887 .image-block * { margin-bottom: 2px; }} However, only the upper row is now side by side. The rest is still stacked. (See screenshot) Can someone explain what's missing in this code? Link to comment
tuanphan Posted May 26, 2021 Share Posted May 26, 2021 Add this to Design > Custom CSS @media screen and (max-width:760px) { div#page-section-60acb063f2c8f00460869887>.row>.col>.row>.col> { width: 50% !important; float: left !important; } div#page-section-60acb063f2c8f00460869887 .image-block { padding: 2px; } div#page-section-60acb063f2c8f00460869887 .image-block * { margin-bottom: 2px; } div#page-section-60acb063f2c8f00460869887 .span-12>.row:nth-child(2)>.span-9 { width: 100% !important; } div#page-section-60acb063f2c8f00460869887 .span-9 .span-6 .span-3 { 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
Ingrid89 Posted May 26, 2021 Author Share Posted May 26, 2021 Like I said in the other post: it worked. Thank you!! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment