Jump to content

Slideshow on Mobile

Go to solution Solved by tuanphan,

Recommended Posts

WEBSITE: www.kinsmenjournal.com

I cannot figure out how to make the slideshow block on this page to show fullscreen on mobile. I've added the following code (after searching through the forums) to no avail.

 

/* Mobile - Resize Slideshow */
@media screen and (max-width:767px) {
.user-items-list-item-containersection[data-section-id="65008546b0a7dc7678e8877d"]ul {
    min-height: unset !important;
    height: 300px;
}
.user-items-list-item-containersection[data-section-id="65008546b0a7dc7678e8877d"] img {
    object-fit: contain !important;
    height: auto !important;
}
}

Screenshot 2023-09-12 at 11.08.24 AM.png

Screenshot 2023-09-12 at 11.08.32 AM.png

Link to comment
  • Solution

Your code is for List Section, but you are using Gallery Block slideshow

Use this new code

@media screen and (max-width:767px) {
body.homepage .gallery-block, body.homepage .gallery-block .slide {
    height: 100vh !important;
}
}

image.thumb.png.1f127afe643b2c3636d89b431d31a3df.png

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

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.