Ciellumiere Posted December 7, 2023 Share Posted December 7, 2023 Hey I am trying to create a logo slideshow using gallery block, it seems to work fine on desktop but I have weird spacing on mobile. See the photo attached. I also noticed that the code I'm using is creating white space at the bottom of About Us page. The weirdest part about it is if I move any of the other sections to the bottom of the page to replace the (lilac one) the space disappears, if i move the video higher the space also disappears, if I remove the logo code it also disappears and it only affect this section. Website url: https://gia-homepage.squarespace.com/ password: demo Here is the code im using: #page { overflow-x:hidden } .gallery-grid-wrapper { display:flex !important; animation: slideshow 60s linear infinite } .gallery-grid-wrapper .gallery-grid-item { min-width: 18%; margin-right: 5% } @keyframes slideshow { 0% { left: 0; } 100% { left: -150%; } } Link to comment
Solution tuanphan Posted December 9, 2023 Solution Share Posted December 9, 2023 Gallery has 100px min-height by default You can add this to Website Tools (under Not Linked) > Custom CSS to fix it /* Logo slideshow space on mobile */ @media screen and (max-width:767px) { [data-section-id="6567140426915872628195e2"] .gallery { min-height: unset !important; } } About page is fine Can you take a screenshot? Ciellumiere 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Ciellumiere Posted December 19, 2023 Author Share Posted December 19, 2023 Thank you, it fixed it. I ended up moving the section with the video a bit up on the page and it masked the spacing 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