Jump to content

How can I make a full image shown in the Slideshow? I fixed the mobile version, but it keeps cropping for web

Go to solution Solved by tuanphan,

Recommended Posts

Hi! I used the code I've found

section[data-section-id="65df9a33454cdb787b43a9b4"] .gallery-fullscreen-slideshow {
  height: clamp(0px, 56vw, 85vh) !important;
}

to make my images (9:16) fit the mobile screen, but they're still cropped on top and bottom in website version. The slideshow height is already at 100. Could you help me fix it too? Thanks!

https://www.nadiagarber.art/

 

 

 

Screenshot 2024-02-28 155739.png

Screenshot 2024-02-28 155842.png

Edited by Nadenka
screenshots
Link to comment
  • Replies 2
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution

Try using this CSS code under your code

@media screen and (min-width:992px) {
section[data-section-id="65df9a33454cdb787b43a9b4"] .gallery-fullscreen-slideshow {
    height: clamp(0px, 53vw, 160vh) !important;
}
}

 

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

Try using this CSS code under your code

@media screen and (min-width:992px) {
section[data-section-id="65df9a33454cdb787b43a9b4"] .gallery-fullscreen-slideshow {
    height: clamp(0px, 53vw, 160vh) !important;
}
}

 

Thank you! I also changed 53vw to 56vw here and it's now showing a full height exactly the way I want it! Awesome!

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.