Jump to content

How to decrease the spacing between two sections

Go to solution Solved by FinLB,

Recommended Posts

  • Solution

Hi,

To reduce the margin above the line block you can add this code to Custom CSS.

 

#block-yui_3_17_2_1_1720761352459_105429 {
    margin-top: -12vh;
}

 

12 or 14 vertical height looks about right to me, but you can change this number. It may also need to be different for the mobile version of your site. The Squarespace ID Finder (https://chromewebstore.google.com/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff) is helpful if you want to do this for other blocks. 

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.