Jump to content

Paragraph margin

Recommended Posts

Hey there,

Try this code.

.blog-item-wrapper p:last-child {
margin-bottom: 2.5em !important

The blog-item-wrapper is the wrapper of all of the blog contents and we've added a "p:last-child", which means that last paragraph of the blog should have a bottom margin of 2.5em. Otherwise, every paragraph in the blog post will have the margin.

Hope this helps,


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.