Increase padding after header

  • Author
    Posts
  • #99888

    Hi, how do I increase the padding after the headings (H1, H2 etc)?

    Thanks!

    #100184
    Zed
    Cryout Creations mastermind

    Try the followings CSS:

    .entry-content h1, .entry-content h2, .entry-content h3,
    .entry-content h4, .entry-content h5, .entry-content h6 {
        padding-bottom: 1em; 
    }

    If you like our creations, help us share by rating them on WordPress.org.
    Please read the available documentation and search the forums before posting.
    #100206

    That worked great thanks! However, the padding after the post titles didn’t increase. Is there a way to increase them too?

    #100228
    Zed
    Cryout Creations mastermind

    The CSS above only applies to headings inside content.

    Titles are targeted by different identifiers:

    #content h1.entry-title, #content h2.entry-title {
        padding-bottom: 0.6em;
    }

    If you like our creations, help us share by rating them on WordPress.org.
    Please read the available documentation and search the forums before posting.
    #100239

    Thanks that worked! 🙂

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Increase padding after header’ is closed to new replies.