Jump to content

Mobile: Slideshow Gallery Spacing

Recommended Posts

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

Edited by AllieDesignCo
Additional photo for context
Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.