Jump to content

Need to remove margin under Gallery Reel

Recommended Posts

I added custom code to this page to make my descriptions appear over the image on my Gallery Reel. However, I have not been able to find a way to get the bottom margin to be 0. Because the descriptions have to be turned on but do not show up inder the images there is now way to much space, is anyone able to help me out with this? I want there to be no space underneath the Gallery so the text underneath it feels like it is related to the gallery. 

Page is: https://bell-cheetah-n87s.squarespace.com/our-purpose
PW: scratch

 

Thanks in advance for any help!

Edited by BilO
Link to comment

No worries, I just realised it might not look great on mobile so you could replace the code with this

@media screen and (min-width: 768px) {
.gallery-reel {
	margin-bottom: -16vw;
}
}
@media screen and (max-width: 768px) {
.gallery-reel {
	margin-bottom: -36vw;
}
}

to have two separate values.

 

Cheers

Fin.

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.