Elena1314Ryan Posted May 24, 2021 Share Posted May 24, 2021 Site URL: https://rosylingerie.ca Hi there, I would like to make the images section on my home page become grid in mobile view. Please let me know what codes that I should add in the the CSS part. Thanks. Link to comment
tuanphan Posted May 24, 2021 Share Posted May 24, 2021 Add to Design > Custom CSS /* Mobile-Homepage-Best sellers */ @media screen and (max-width:767px) { div#block-6bfda2f7db7286b58d2f+.row .span-4 { width: 33.3333% !important; float: left !important; } } Elena1314Ryan 1 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
Elena1314Ryan Posted May 24, 2021 Author Share Posted May 24, 2021 9 hours ago, tuanphan said: Add to Design > Custom CSS /* Mobile-Homepage-Best sellers */ @media screen and (max-width:767px) { div#block-6bfda2f7db7286b58d2f+.row .span-4 { width: 33.3333% !important; float: left !important; } } Thanks! It works! Just one quick question for another 4 images below this block. How can I made them as grid and 2 item per row? Thanks! Link to comment
tuanphan Posted May 26, 2021 Share Posted May 26, 2021 On 5/25/2021 at 12:05 AM, Elena1314Ryan said: Thanks! It works! Just one quick question for another 4 images below this block. How can I made them as grid and 2 item per row? Thanks! Use new code /* Mobile-Homepage-Best sellers */ @media screen and (max-width:767px) { div#block-6bfda2f7db7286b58d2f+.row .span-4 { width: 33.3333% !important; float: left !important; } div#page-section-608d05398a421213d84d115c .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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment