Jump to content

Adjusting white space and sizing of images with gallery slideshow

Recommended Posts

Hi,

I'm using the gallery block with slideshow to display images in a blog post (using it as a portfolio to get round the 60 item limit). I've noticed that if I have just one image it spans the width I want, but if there are two or more images with different aspect ratios, I'm left with lots of white space and the image looks too small.

I've attached what I'm getting and what I would like except we want to have this with the landscape/different aspect ratio images added as well.

Can anyone help?Whatwehavenow.thumb.png.c2741302d1db8e25cebf1dc72873440a.png

 

Whatweneed.thumb.png.84aaab4669cdf5afed07d7244f3c5f0c.png

what we have now.png

without the landscape images.png

Link to comment
  • Replies 6
  • Views 795
  • Created
  • Last Reply

Top Posters In This Topic

On 3/8/2024 at 7:48 PM, IsaWP said:

Hi, Here is a link to one of the posts

Password: bidmas

https://andrea-wp.squarespace.com/work/blackstar-film-fest

Thank you

You can add this code to Work Page Header Code Injection

<style>
  @media screen and (max-width:767px) {
  .sqs-gallery-design-stacked-slide img {
    width: 100% !important;
    left: 0 !important;
    height: auto !important;
}
.sqs-gallery-design-stacked {
    height: auto !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
  • 2 weeks later...

Hi I tried both options but both shifted and overlaped other things on the page like the instagram section. Also, the images aren't high resolution enough to be stretched.

I'm going to have to leave it as is and hope the client accepts it this way for now.

Thank you for your help.

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.