Jump to content

Adjusting spacing for gallery section and overriding site margin

Go to solution Solved by tuanphan,

Recommended Posts

Posted

Hello, I'm building my first site and am currently trying to set a clean and even visual spacing on a page.

I specifically want a smaller spacing in an image gallery section that increases the top and bottom spacing around it (not sure if margin or padding) when I modify the overall site margin. I want a large site margin but not such a big margin around the gallery itself which is currently creating a huge gap to my text.

 

I've tried to visit other forum posts and apply posted CSS codes for similar problems but I could not see any improvement, probably because the site margin is what I need to override in the section? not sure.

Any help on this issue and an explanation for how to set spacing independently from the site margin would be appreciated.

Cheers 🙂

Untitled-2.jpg

Untitled-1.jpg

  • Replies 9
  • Views 3.4k
  • Created
  • Last Reply

Top Posters In This Topic

Posted
On 11/12/2022 at 11:56 PM, Alanthearchitect said:

One more question regarding this site, I'm trying to do the same but for the page on this specific URL

https://alaneskildsen.com/work/architecture-projects

In this case it is a different kind of gallery, and want to reduce the bottom and top margin/padding of the grid gallery as well.

 

Hi. Use this code

.gallery-grid.gallery-grid--layout-grid {
    padding-top: 0px;
    padding-bottom: 0px;
}

 

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

  • 11 months later...
Posted

Hi,

 

I need help with a slideshow issue please. When I create a slideshow with sizing 'full' the images are too large for desktop and mobile but look correct for laptop. Is there a way to ensure I get the full image (not cropped) and consistent over those three breakpoints? I'm guessing I have to adjust the CSS code? 

 

Any help is HUGELY appreciated.

 

Thanks,

 

Denni

Posted
On 10/19/2023 at 8:36 PM, Denz said:

Hi,

 

I need help with a slideshow issue please. When I create a slideshow with sizing 'full' the images are too large for desktop and mobile but look correct for laptop. Is there a way to ensure I get the full image (not cropped) and consistent over those three breakpoints? I'm guessing I have to adjust the CSS code? 

 

Any help is HUGELY appreciated.

 

Thanks,

 

Denni

What is site url?

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

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.