Molekula Posted June 18 Share Posted June 18 Hi! I have 2 column gallery on my site on PC version, but for mobile version I want to make one column gallery. How can I do it with CSS? Tell me please. Link to comment
tuanphan Posted June 19 Share Posted June 19 Hi, Can you share link to gallery? 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
Molekula Posted June 19 Author Share Posted June 19 (edited) 4 hours ago, tuanphan said: Hi, Can you share link to gallery? Hi,of course oliviaprotea.com Edited June 19 by Molekula Link to comment
tuanphan Posted June 23 Share Posted June 23 On 6/19/2023 at 6:28 PM, Molekula said: Hi,of course oliviaprotea.com Add to Design > Custom CSS /* Masonry one item on mobile */ @media screen and (max-width:767px) { .gallery-masonry-item-wrapper { height: auto !important; margin-bottom: 30px !important; } figure.gallery-masonry-item { position: relative !important; width: 100% !important; transform: unset !important; } .gallery-masonry-item-wrapper { height: auto !important; } .gallery-masonry .gallery-masonry-item[data-loaded] img { width: 100% !important; } .gallery-masonry { padding-left: 10 !important; padding-right: 10 !important; } /* new code */ .gallery-masonry-wrapper.gallery-masonry-list--ready { height: auto !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