thatmadden Posted October 29, 2021 Share Posted October 29, 2021 Site URL: https://www.maddenillustration.co.uk/monstermashup I have 3 separate gallery blocks stacked on top of each other on my site - they display correctly on Desktop and tablet view (all 3 blocks visible without needing to scroll) but on mobile the bottom block is obscured. Is there a way to add a margin or padding to the blocks that would be consistent across all viewing modes? I'm currently using spacers ... Also, is it possible to move the slideshow nav arrows outside of the gallery block so they do not overlap the image? Thanks very much Link to comment
Beyondspace Posted October 29, 2021 Share Posted October 29, 2021 2 hours ago, thatmadden said: Site URL: https://www.maddenillustration.co.uk/monstermashup I have 3 separate gallery blocks stacked on top of each other on my site - they display correctly on Desktop and tablet view (all 3 blocks visible without needing to scroll) but on mobile the bottom block is obscured. Is there a way to add a margin or padding to the blocks that would be consistent across all viewing modes? I'm currently using spacers ... Also, is it possible to move the slideshow nav arrows outside of the gallery block so they do not overlap the image? Thanks very much You can try adding to Home > Design > Custom Css /*arrow*/ .sqs-gallery-controls .previous { left: -60px; } .sqs-gallery-controls .next { right: -60px; } /*block*/ @media only screen and (max-width: 767px) { #container-content .gallery-block.sqs-block-gallery { margin-top: -1px; } } Let me know how it works on your site Support me by pressing 👍 if this useful for you BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace 🚀 Learn how to rank new pages on Google in 48 hours! 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
thatmadden Posted October 29, 2021 Author Share Posted October 29, 2021 1 hour ago, bangank36 said: You can try adding to Home > Design > Custom Css /*arrow*/ .sqs-gallery-controls .previous { left: -60px; } .sqs-gallery-controls .next { right: -60px; } /*block*/ @media only screen and (max-width: 767px) { #container-content .gallery-block.sqs-block-gallery { margin-top: -1px; } } Let me know how it works on your site Support me by pressing 👍 if this useful for you Thanks very much - The arrows look great. The CSS for the gallery block didn't work for me but I have found another solution that did: @mobile: ~"only screen and (max-width: 640px)"; .sqs-block-gallery { width: 60%; margin-right: auto; margin-left: auto; } Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.