Jump to content

Resize gallery images for mobile - full slideshow

Recommended Posts

This should at least be a start to what you're looking for! Paste the code below into Custom CSS. 

If you've tried setting heights for these with code already, you should remove that code before trying this. It just seems you might have because the homepage slideshow had a height of 100vw and the service one I looked at had a height of 75vw? 
 

gallery-fullscreen-slideshow {
height: auto !important:
}

.gallery-fullscreen-slideshow-list {
flex-grow: 0 !important;
flex-shrink: 0 !important;
}


From my testing it didn't seem to cause issues with desktop-size screens but if it does we can add code to target only mobile & tablets. 

Edited by ReformDesign
Clarify where to add code.
Link to comment
6 minutes ago, LesleyA said:

Thanks, it says there's a syntax error on this line ...

height: auto !important:

The colon at the end should be a semicolon! ;    my bad 🙂

 

The full fixed code will be:

.gallery-fullscreen-slideshow {
height: auto !important;
}

.gallery-fullscreen-slideshow-list {
flex-grow: 0 !important;
flex-shrink: 0 !important;
}

Edited by ReformDesign
edited code snip
Link to comment
  • 3 weeks later...
On 11/17/2022 at 6:04 AM, jasoncooper1986 said:

Hey @ReformDesign I followed this and it worked to fix the issue I was facing too.

But it left a huge gap on mobile for me, please see attached. 

Do you know how I can fix that?

Thanks,

J

Screen Shot 2022-11-17 at 10.02.53 am.png

What is site url? We can check this easier

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
  • 1 month 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.