[Resolved] Want to have space between a ending paragraph and header.

Home Forums Support [Resolved] Want to have space between a ending paragraph and header.

Home Forums Support Want to have space between a ending paragraph and header.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1143304
    Mahesh

    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.

    #1143345
    David
    Staff
    Customer Support

    Hi there,

    try this CSS:

    .entry-content p + h2, 
    .entry-content p + h3 {
        margin-top: 2.5em;
    }
    #1143396
    Mahesh

    Perfect! Thanks.

    #1143515
    David
    Staff
    Customer Support

    You’re welcome

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.