Jump to content

Increase Paragraph spacing within text box

Go to solution Solved by Lesum,

Recommended Posts

Hi there please can you help with some code?

I want to increase the spacing between paragraphs (when I press enter) without increasing the line height.

I have tried this code with various values (and also margin-bottom) and it's not changing anything.

image.png.1f3d235e65c8a4772b4844ddc9bd7a5b.png

Thanks!

Link to comment
  • Replies 8
  • Views 177
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

  • Solution

@Michelle777 Remove this code (last one I shared):

.sqs-block-html .sqs-html-content p:last-child {
    margin-block-end: 0 !important;
}

Replace it with this code:

.sqs-block-html .sqs-html-content p:last-child:not(li p) {
    margin-block-end: 0 !important;
}

 

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? Buy me a coffee?

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.