SimonLL Posted February 3, 2022 Share Posted February 3, 2022 (edited) Hi, I have 2 pages with a grid gallery block that contains multiple videos with thumbnails. It is set to be 2 columns wide on desktop, but I would like them to be single column on mobile. Is it possible to do this with CSS? Page is here: https://simon-lamarre.com/projets/commercial It's a blog post with a bunch of stuff hidden. I really wanted that video lightbox. Thanks! Edited February 3, 2022 by SimonLL Link to comment
Beyondspace Posted February 7, 2022 Share Posted February 7, 2022 On 2/3/2022 at 11:26 AM, SimonLL said: Hi, I have 2 pages with a grid gallery block that contains multiple videos with thumbnails. It is set to be 2 columns wide on desktop, but I would like them to be single column on mobile. Is it possible to do this with CSS? Page is here: https://simon-lamarre.com/projets/commercial It's a blog post with a bunch of stuff hidden. I really wanted that video lightbox. Thanks! Kindly try adding to Home > Design > Custom Css @media only screen and (max-width: 767px) { .sqs-layout .sqs-gallery-design-grid-slide { width: 100% !important; } .sqs-layout .sqs-gallery-design-grid-slide img{ width: 100% !important; height: 100% !important; } } Let me know how it works on your site Support me by pressing 👍 if this useful for you GretchenElizabeth 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. 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