Jump to content

Decreasing gallery padding on mobile only

Recommended Posts

Site URL: https://www.eyevantumbleweed.com/gallery/jorovin

I'm new to squarespace and just created this site for a friend. I'm trying to figure out how to reduce the padding on all the gallery pages on the mobile version only above, in-between, and below the slideshows and videos. Here's an example of how it looks on mobile. I'm assuming I'll need some CSS but am not familiar with that. Can anyone help me out please?

IMG_7267.PNG

IMG_7266.PNG

IMG_7265.PNG

Link to comment
  • Replies 5
  • Views 679
  • Created
  • Last Reply
On 9/8/2021 at 7:51 AM, ColleenT said:

Thank you! That worked for the slideshow. But I'd like to decrease the padding below the videos too on mobile.

Hi, 

Try new code

/* Mobile slideshow padding */
@media screen and (max-width:767px) {
.gallery-slideshow {
    height: 35vh !important;
}
/* space under video */
[data-section-id="61106b276bd67101113b2a47"] {
    min-height: unset !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

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.