ClemenciaST Posted October 27, 2023 Share Posted October 27, 2023 Hi! I have used the following code to force my simple grids to display as single images on mobile: @media screen and (max-width:1400px) { .gallery-grid-wrapper { grid-template-columns: repeat(1,1fr) !important; grid-row-gap: 3vw !important; It is working on the first grid on my homepage, but strangely not on the second grid at the bottom of the homepage. Can anyone help me understand why it wouldn't apply to all grids, and perhaps offer a solution? https://www.vermontgoldsmith.com/ PW: nbgoldsmith Thanks in advance! Link to comment
Ziggy Posted October 27, 2023 Share Posted October 27, 2023 It's a different type of gallery, use this Custom CSS: @media only screen and (max-width:1400px) { .sqs-gallery-block-grid.sqs-gallery-thumbnails-per-row-2 .sqs-gallery-design-grid-slide { width: 100%; } } Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? 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