GMK Posted June 19, 2022 Share Posted June 19, 2022 Site URL: https://marlin-plantain-z2gr.squarespace.com/ Hi - I have a page with lots of Strip image galleries, which I would like to display as 2 columns on mobile. I have used a code that does this, however when viewed on a mobile there are lots of awkward gaps between images where they are different dimensions. Is it possible to fix this, or to set the galleries so that they display as strips on desktop and as two column Masonry gallery on mobile? This is the page: https://marlin-plantain-z2gr.squarespace.com/portfolio/work pw: 123 Some screenshots of how the gaps appear on mobile: Link to comment
tuanphan Posted June 20, 2022 Share Posted June 20, 2022 In the code you used to make 2 items/row on mobile, edit this code .gallery-strips-wrapper.gallery-strips-list--ready { height:auto !important; display: grid; grid-template-columns: repeat(2,1fr); grid-gap: 10px 10px } to this .gallery-strips-wrapper.gallery-strips-list--ready { columns: 2; column-gap: 0; height: auto!important; display: block!important; padding: 0; } 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