Jump to content

Reduce padding around slideshow gallery section

Recommended Posts

On 5/7/2022 at 2:28 AM, cal99 said:

Once again, asking for other solutions for reducing padding top and bottom in a gallery slideshow. None of the above suggestions worked for me. Thanks for your help.

https://bugle-harp-k46x.squarespace.com/

password: NL385!

Add to Design > Custom CSS

.gallery-slideshow {
	padding-top: 0 !important;
	padding-bottom: 0 !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

That custom CSS listed above doesn't work for me. Any other suggestions? I still have the same amount of excess padding. There is no change. If you look at the site, I did put in the css and you can see that it doesn't seem to work.

For reference: Height is set to 90. Width is large.  Set as Slideshow: Simple.

Can anyone help with another solution? Thank you.

Edited by cal99
Link to comment
On 5/12/2022 at 12:48 AM, cal99 said:

That custom CSS listed above doesn't work for me. Any other suggestions? I still have the same amount of excess padding. There is no change. If you look at the site, I did put in the css and you can see that it doesn't seem to work.

For reference: Height is set to 90. Width is large.  Set as Slideshow: Simple.

Can anyone help with another solution? Thank you.

Can you share link to page where you have problem?

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

The problem is on the homepage. The second image (on homepage) which is a gallery slideshow. The jpeg attachment shows the problem area of large gaps marked in yellow. Top and bottom padding for gallery slideshow. I have tried all the custom css in this thread and none of it worked to reduce padding. Your help is appreciated! Thanks.

Here is the link and password:

https://bugle-harp-k46x.squarespace.com/

password: NL385!

Homepage_Gallery_slideshow_gap.jpg

Edited by cal99
Link to comment
On 5/13/2022 at 9:08 PM, cal99 said:

The problem is on the homepage. The second image (on homepage) which is a gallery slideshow. The jpeg attachment shows the problem area of large gaps marked in yellow. Top and bottom padding for gallery slideshow. I have tried all the custom css in this thread and none of it worked to reduce padding. Your help is appreciated! Thanks.

Here is the link and password:

https://bugle-harp-k46x.squarespace.com/

password: NL385!

Homepage_Gallery_slideshow_gap.jpg

It looks no gap here. Did you solve it?

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
18 hours ago, cal99 said:

The problem is still there. And worse with responsive and mobile. The jpeg above shows the large gaps.

Try adding to Design > Custom CSS > then save & reload the site

@media screen and (max-width:767px) {
.gallery-slideshow {
    height: 30vh !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

Thanks for the suggestion. I tried that custom CSS and reloaded. It still is not working. See jpg attached with new css. Yellow blocks mark extra padding areas I am trying to reduce to match spacing top and bottom of other images on the page.

 

image.thumb.jpeg.af989e2acd9e2df272ebc740f14b78d1.jpeg

Edited by cal99
Link to comment

Here is what my Custom CSS looks like. I have another custom css in there for a type tweak. That custom css worked. Is there anything wrong with how I am adding it? I've tried every suggestion in this thread to reduce padding and nothing works for me.

Custom_css.png

Edited by cal99
Link to comment
2 hours ago, cal99 said:

Is it better for me to start a new post to get help?

It seems your query is very close to the original poster's issue so I don't think you need a new thread. When you post to a thread that post is bumped to the top of the list of unread messages.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

Okay. I'm not getting any help at this point so I thought I'd ask.  I tried all the custom css in this post and none of it worked. I also posted a screenshot of my custom css to make sure I input it properly. Without a solution to excessive padding issues, I'm realizing I can't use the gallery slideshow feature. Thanks.

Edited by cal99
Link to comment
10 minutes ago, cal99 said:

I'm realizing I can't use the gallery slideshow feature.

I wouldn't give up just yet. But it wouldn't hurt to explore other options. Try to keep the gallery there for a bit so other might take a crack at it. Or point to a test page that you've set up just to try to solve this one issue.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

@cal99

I just took a dive into this. Here is what I see when I look at your site on mobile emulation.

265625281_ScreenShot2022-05-18at3_31_57PM.thumb.png.256637a0712103f9faefd8a7acc2b0b9.png

It appears to me the code is working but perhaps not at the breakpoint you want?

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
19 hours ago, cal99 said:

Why does mine make the whole image smaller than your view?

Could it be a different browser/platform issue? Different browsers all handle rendering in their own way. Yes they follow a spec to some degree but there are variations on interpretation.

My pic was a screenshot of your page on Chrome/macOS using Chrome's DevTool's mobile emulation.

Sometimes there can be a real difference  between the emulation and viewing on an actual mobile device.

I will say that I think SS has not done the best job on this particular element in regards to spacing across viewport sizes. The spacing is extreme in some cases!

Folks, I encourage you to report this issue to SS customer support. That is the only official way they take on problems.

Please be aware that if you have custom code they will say it is not their problem. So you have to be ready to prove that it is not your custom code causing the issue.

Edited by creedon

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

I looked at it on the Squarespace platform in mobile and my screenshot shows the smaller image (screenshot in post). I looked at it on my iPhone and the image was also smaller. This is not correct. On desktop, the padding creates much bigger gaps and becomes even worse as the screen is resized. So, the code isn’t working. My customer is also least likely to look at mobile. On a related note, I have told the Squarespace customer service about other issues I’ve had with responsive problems. They did help me to fix one issue in the template I chose but it took a few rounds of discussion.

Edited by cal99
Link to comment

Unfortunately, my only work around is to substitute a gallery slideshow with a jumpy gif (shown below the slideshow as a test in my site). At least I have no large gaps in padding from the gallery slideshow format. Videos, gifs and images seem to maintain consistent spacing. Gallery slideshows do not. They also have responsive problems. No custom css seemed to fix the problem.  In the end, I may use a static image as neither looks very good.

Edited by cal99
Link to comment

@cal99

Nothing to add other than a data point. This is a screenshot from my iPhone. I put the image on a red background so we can see better against the posts white background

847277013_ScreenShot2022-05-19at1_04_16PM.thumb.png.6b798a27cde94abd4fbaced888b69d19.png

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
  • 2 months later...
On 7/29/2022 at 8:38 AM, StephanieR said:

Hello - I'm having a similar issue here. I want to reduce the top and bottom padding of a gallery reel. I have looked through a ton of forums and tried a handful of codes but nothing is working. Any suggestions?

image.thumb.png.dea76dcecab2881e7e144667961f6f8a.png

I guest is is section padding. Can you share link to page in screenshot?

 

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

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.