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 (edited) 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 Edited October 29, 2021 by bangank36 thatmadden 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 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
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; } Beyondspace 1 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