Jump to content

Keeping Gallery Slideshow Block 'full width' on Mobile.

Recommended Posts

  • Replies 5
  • Views 181
  • Created
  • Last Reply

Top Posters In This Topic

41 minutes ago, dunker56 said:

Site URL: https://www.eddysummers.com.au/documentary-weddings

I have a Slideshow: Full for my 7.1 site, on desktop its working fine, but on mobile it crops the width severely. I'm looking for a way to keep the width for this gallery on mobile. Is this possible?

Cheers.
 

Screenshot 2022-06-22 091026.jpg

Screenshot 2022-06-22 090934.jpg

Try

@media only screen and (max-width: 767px) {
  section[data-section-id="6205c9597f1a9d535ceee684"] .gallery-fullscreen-slideshow-item-img img {
    width: 100% !important;
    height: auto !important
  }
  section[data-section-id="6205c9597f1a9d535ceee684"] .gallery-fullscreen-slideshow {
    height: 50vh!important
  }
}

Let me know how it works

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 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

My testing

image.png.e884f8f220d517442b86472e4895f3ee.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 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
1 hour ago, bangank36 said:

Try

@media only screen and (max-width: 767px) {
  section[data-section-id="6205c9597f1a9d535ceee684"] .gallery-fullscreen-slideshow-item-img img {
    width: 100% !important;
    height: auto !important
  }
  section[data-section-id="6205c9597f1a9d535ceee684"] .gallery-fullscreen-slideshow {
    height: 50vh!important
  }
}

Let me know how it works

Hi, sorry I'm a bit of a noob at this, where do I c/p this code? Thanks 

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.