Jump to content

Mobile: Slideshow Gallery Spacing

Recommended Posts

Posted

Site URL: https://www.vintagedishandtell.com/hero-recipe-slideshow

I'm adding a slideshow gallery to my client's site (7.0), and I'm having some spacing trouble.

It looks good on desktop and tablet, but on mobile there is way too much top and bottom spacing. I've tried searching for mobile-specific CSS suggestions, but none have worked. The only ones I've found have to do with width, not padding height to get rid of that top/bottom whitespace.

I'm also open to increasing the heigh of the slideshow container itself so it fills up that space better. Whatever can be done so the spacing doesn't look so strange.

Thanks!

Screen Shot 2020-11-19 at 9.21.46 PM.png

Screen Shot 2020-11-19 at 9.29.41 PM.png

  • Replies 1
  • Views 342
  • Created
  • Last Reply
Posted

Add to Page Settings > Advanced > Header

<style>
  @media screen and (max-width:640px) {
  .Main-content {
    padding-top: 10px;
    padding-bottom: 10px;
}
  }
</style>

I see some pages have very long content on mobile. You can consider adding a back to top button.

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!)

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.