Jump to content

7.1 reduce white space around line block

Go to solution Solved by ErikaT,

Recommended Posts

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

@ErikaT:  Does the Page have to be public to give you access? (I don't want it to be visible for visitors in this stage)

Thank you for the code. Unfortunately, it improves the white space issue just a little and only above one line.
Here's a screenshot with code and without code:

 

Bildschirmfoto 2021-03-19 um 10.05.05.png

Bildschirmfoto 2021-03-19 um 10.05.21.png

Link to comment
  • Solution

It will depend on your font and existing padding etc, so a few other things may need tweaking to make it all sit nicely:

.sqs-block-content hr {
 margin-top: -35px !important;
}

.sqs-block-horizontalrule {
 margin-bottom: -35px !important;
}

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.