Jump to content

Custom spacing between sections and blocks

Recommended Posts

Site URL: https://chimes-tomato-2rwe.squarespace.com/

Hi, I'm after some help with some spacing amendments?


Password: LINCHPIN

I'm looking to inject CSS and have even gaps and padding between Gallery grid simple blocks (site wide) on mobile and desktop.



I'd also like to be able to adjust section width to be thinner than the default of 10 (VW?) site wide when needed as I want to add thin lines between different sections.


@tuanphan I'd love your thoughts?

Kind regards.


Link to comment
  • Replies 6
  • Views 1.3k
  • Created
  • Last Reply

To adjust spacing, add this to Home > Design > custom CSS

@media screen and (min-width:768px) {
/* red section */
[data-section-id="5ebdf6c777554077ad768c0d"] .gallery-grid--layout-grid .gallery-grid-wrapper {
    grid-column-gap: 5vw !important;
    grid-row-gap: 5vw !important;
/* cream section */
[data-section-id="5ebdf6c777554077ad768c15"] .gallery-grid--layout-grid .gallery-grid-wrapper {
    grid-column-gap: 5vw !important;
    grid-row-gap: 5vw !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


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.