Jump to content

Remove margin between sections

Recommended Posts

Posted

I spend an hour searching but all I can find is CSS or Pencil but in the current editor that does not seems to exist/ work anymore.

I would like to remove/make smaller the margin between sections as visible for example on https://www.markkuipers.nl/portfolio/interieur 

Preferable on the whole site at once.. but if possible/necessary on 1 page or between certain sections

  • Replies 6
  • Views 2k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted

What is the url for your website? 

You can just change the gap between sections by editing the sections and customising the height of the section. You can completely remove the margin, by turning off the fill screen (see image below) and then adjusting all the content of each section to suit.


image.png.582b6eb6ed0bb1c09656cf5031f04ed2.png

Posted
33 minutes ago, MKNL said:

Thanks. The URL is in my opening post 🙂 But maybe it's blocked? https://www.markkuipers.nl/portfolio/interieur   or click this link

When I edit a section I do not see that height/alignment. It's an image section with a gallery.

 

image.thumb.jpeg.b59385d3782d7e5471c77ddcc6cf6050.jpeg


Try this code, but mess around with the padding line of code. And just so you are away the padding figures go from top > right > bottom > left.

Top (1vw) - Right (4vw) - Bottom (1vw) - Left (1vw)

.gallery-grid[data-width="inset"] {    
max-width: 1920px;    
padding: 1vw 4vw 1vw 4vw;    
margin-left: auto;    
margin-right: auto;
}

Posted

I feel so stupid (and that the editor is not here what it is on some tutorials does not help) .....  where do i put this code?   Website tools > css?   

If I do it like in this screenshot nothing happensimage.thumb.jpeg.b5572bd5c7c2c268295854b3517497f6.jpeg

Posted
1 hour ago, MKNL said:

I feel so stupid (and that the editor is not here what it is on some tutorials does not help) .....  where do i put this code?   Website tools > css?   

If I do it like in this screenshot nothing happensimage.thumb.jpeg.b5572bd5c7c2c268295854b3517497f6.jpeg

Try adding !important in the padding line of code

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.