hello321 Posted January 20, 2022 Share Posted January 20, 2022 Site URL: https://www.pappishop.com/ Hello, I hope that you are well! I decided to put two product blocks towards the bottom of my websites homepage. On desktop view, the product blocks are side by side (two in a row). However, on mobile view, the images grow in size and stack instead of keeping the format two in a row. Is there a custom CSS to make two product blocks side by side (two in a row) on mobile view? For reference, here are the product blocks I am talking about (desktop version): Link to comment
tuanphan Posted January 21, 2022 Share Posted January 21, 2022 Add to Design > Custom CSS /* Products homepage 2 columns mobile */ @media screen and (max-width:767px) { div#page-section-60342ca29698617c1459cb53 .span-3 { width: 50% !important; float: left !important; } } hello321 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
hello321 Posted January 21, 2022 Author Share Posted January 21, 2022 1 hour ago, tuanphan said: Add to Design > Custom CSS /* Products homepage 2 columns mobile */ @media screen and (max-width:767px) { div#page-section-60342ca29698617c1459cb53 .span-3 { width: 50% !important; float: left !important; } } This worked perfectly! Thank you so much!! 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