Jump to content

Full-width slider on Mobile and Desktop (height = responsive)

Recommended Posts

  • Replies 7
  • Views 4.3k
  • Created
  • Last Reply

Add to FAQs Page Settings > Advanced > Header

<style>
  @media screen and (max-width:767px) {
  .gallery-fullscreen-slideshow-item img {
    object-fit: contain !important;
}
    .gallery-fullscreen-slideshow {
    height: 40vh !important;
}
  }
</style>

 

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
3 hours ago, tuanphan said:

Add to FAQs Page Settings > Advanced > Header


<style>
  @media screen and (max-width:767px) {
  .gallery-fullscreen-slideshow-item img {
    object-fit: contain !important;
}
    .gallery-fullscreen-slideshow {
    height: 40vh !important;
}
  }
</style>

 

Thank you Tuan. I got the code pasted and working in Mobile mode but the slider still crops in Desktop mode. How can I fix this? Thank you again.

Link to comment
7 minutes ago, tuanphan said:

I see desktop fine here. Can you describe in detail?

Here are screenshots of the full browser window showing first two slides in the slideshow. You can see the names are partially cropped out.

bubblegumchique.com/faqs

Slide1.png

Slide2.png

Link to comment
5 hours ago, tuanphan said:

Can you disable auto scroll? We can check easier

I've disabled auto scroll and reduced the slideshow to a single image to simplify things. When the image is fully displayed (no cropping), a brand watermark will be visible in the lower right corner of the image.

Thank you again.

 

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • 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.