Jump to content

Adding Padding on left/right of Gallery Grid

Go to solution Solved by tuanphan,

Recommended Posts

Hello all, 

I have added a simple GALLERY GRID to my site in 7.1 but I no longer see the option to add SPACERS on either side of it (so that the gallery grid does NOT take up the whole width of the page). Does anyone know how I can add padding to either side of my gallery grid?

 

THANKS!

Link to comment
  • Solution
9 hours ago, Samantha3379 said:

Sure! @tuanphan

You should be able to see here  https://disc-strawberry-4nlb.squarespace.com/headshots

If it asks you for password it is "gallery"

Thanks in advance!

Add to Design > Custom CSS

/* headshots gallery padding */
body#collection-60a66b9fd9e07e2ed6b44016 .gallery-grid.gallery-grid--layout-grid {
    padding-left: 10vw;
    padding-right: 10vw;
}

 

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
  • 8 months later...
On 5/26/2021 at 2:47 AM, tuanphan said:

Add to Design > Custom CSS

/* headshots gallery padding */
body#collection-60a66b9fd9e07e2ed6b44016 .gallery-grid.gallery-grid--layout-grid {
    padding-left: 10vw;
    padding-right: 10vw;
}

 

Do you have a way of doing this for all gallery sections across all pages? Thank you in advance!

Link to comment
On 2/5/2022 at 4:54 AM, Jlcurtin said:

Do you have a way of doing this for all gallery sections across all pages? Thank you in advance!

Use this new code

.gallery-grid.gallery-grid--layout-grid {
    padding-left: 10vw;
    padding-right: 10vw;
}

 

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
  • 1 month later...
On 3/24/2022 at 8:58 PM, creaturellc said:

Add to Design > Custom CSS > Then save & reload the site

/* Gallery section - Masonry padding */
.gallery-masonry {
    padding-left: 10vw !important;
    padding-right: 10vw !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 3/24/2022 at 5:29 PM, fpSVA said:

How do I add a full bleed gallery but so it only takes up one half of the screen (shown by the red square)? So essentially a spacer on only one side of the gallery so that it is off-centered. Many thanks in advance.websitehelp.thumb.png.117c41114458daaffc7a01a5147acce4.png

Try adding a Gallery Slideshow, then share url, we will try code to make same layout

You can also consider List Section layout

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
  • 8 months later...
11 hours ago, BureauSF said:

Chiming in, hoping the resourceful @tuanphan may have a solution how to add side padding on the (full width) Gallery page grid in Tremont (Carson) template - see example here

General page padding and/or site width adjustments in Design settings apparently do not affect the Gallery page grid (in Horizontal setting)

You mean add left/right padding to gallery on this page? 

https://denisa-bj.squarespace.com/test-gallery

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
15 hours ago, BureauSF said:

@tuanphan correct, hoping to add left/right padding to the Gallery page.

For some reason the Left/Right Content Padding + Content Max Widthadjustments in Site Settings do not apply to Gallery pages.

Try adding to Design > Custom CSS

.slides {
    padding-left: 10vw !important;
    padding-right: 10vw !important;
}

Also, I see a huge space on right of screen

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
  • 2 weeks later...

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.