Jump to content

Automatic Logo slideshow

Go to solution Solved by tuanphan,

Recommended Posts

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%; }

}

 

image.thumb.png.9231bccbb8a7b092bf7d8448cc27feda.pngimage.png.fb79c9008527a32869b2fdccdd02ba9f.png

Link to comment
  • Solution

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?

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
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.