Jump to content

Adding space between images in reel on mobile

Recommended Posts

Site URL: https://laurelguido.com

I was wondering how to create space or padding around each of these images (different widths) in my reel on mobile: 

CleanShot2024-09-05at12_18.07@2x.thumb.png.da68cad0f24df935e97e0effa1ce748d.png

 

I was able to get the web version correctly and used this code:

@media screen and (min-width: 800px)
{
.gallery-reel-item-src{
  left: 35px
}
.gallery-reel-item img{
      left: -17px;
}
}

 

CleanShot2024-09-05at12_18.22@2x.thumb.png.9688ec9514e40fbdfa3b7ffbb8f6f977.png

 

here is the link to this specific webpage: https://laurelguido.squarespace.com/stories/sheltered-spring

 

Thanks!

Link to comment
  • Replies 3
  • Views 286
  • Created
  • Last Reply

Top Posters In This Topic

You can use this to Custom CSS then save & reload the site

@media screen and (max-width:767px) {
    .gallery-reel-item-src{
  left: 35px
}
.gallery-reel-item img{
      left: -17px;
}
 section[data-section-id="61394dfb4e2a4122a75a527f"] .gallery-reel {
        height: 20vh !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
On 9/7/2024 at 6:37 AM, tuanphan said:

You can use this to Custom CSS then save & reload the site

@media screen and (max-width:767px) {
    .gallery-reel-item-src{
  left: 35px
}
.gallery-reel-item img{
      left: -17px;
}
 section[data-section-id="61394dfb4e2a4122a75a527f"] .gallery-reel {
        height: 20vh !important;
    }
}

 

I tried this and this is what it ended up doing:

It made that specific reel section shorter/smaller and it cut off the left and right sides of the images on all reels. 😞 

CleanShot2024-09-09at16_25.46@2x.thumb.png.416b204df8432dcc8fc081919656b20f.pngCleanShot2024-09-09at16_24.42@2x.thumb.png.60d1612bc16a05380ae4291adec771bb.png

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.