Archived topic
Want to have space between a ending paragraph and header.
3 replies · Started by Mahesh on January 25, 2020
Viewing posts 1–4 of 4
Hello Team,
I want to know is there any way to increase space between a paragraph and header (h2 or h3). Like, when I end a paragraph and add another section using h2 or h3, there is little space. I tried to increase its space using some codes in this forum, but it also increases space in other parts as well where it's not needed.
Waiting for your reply.
Hi there,
try this CSS:
.entry-content p + h2,
.entry-content p + h3 {
margin-top: 2.5em;
}
Perfect! Thanks.
You're welcome
This archived topic is closed to new replies.