Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #199371

    Hi,

    When I select a sub-heading in the editor and apply an H2 tag to it there is automatically a large amount of padding added between the sub-heading and the paragraph above. Is there an easy way to remove or decrease this padding?

    Thanks!

    Best,
    Jonathan

    #199544

    Hi Jonathan!

    Can you post the link to your blog page and show us an example?

    Best regards,
    Yigit

    #199701
    This reply has been marked as private.
    #199705

    Hi!

    Please add following code to Quick CSS in Enfold theme options under Styling tab

    p + h2 { margin-top: 0; }

    Best regards,
    Yigit

    #199714

    Thanks! Will this only affect H2 within blog posts?

    #199721

    Hey!

    Yes, you can add following code instead to apply on all heading elements

    p + h1, p + h2, p + h3, p + h4, p + h5, p + h6 { margin-top: 0; }

    Regards,
    Yigit

    #199729

    Thanks, worked great!

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘H2 Formatting on Blog Post’ is closed to new replies.