Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Paragraph margin


Carfol

Question

1 answer to this question

Recommended Posts

  • 0

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,

-Dan

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...