How to remove spacing beneath heading (H1, H2, etc)?

  • Unknown's avatar

    Hi there,

    I can’t seem to figure out how to get rid of the extra space beneath the headings (H1, H2, etc) on all of my pages. I have set all margins and padding to 0. When I set the line height, it only moves the text up. There is still an odd amount of spacing beneath the heading and the body text. What CSS code do I need to put in? I have tried doing something along the lines in Appearance > Customize > Additional CSS but nothing is changing:

    .h2 {
    margin: 0px;
    padding: 0px;
    }

    Please help! I have tried everything and I must be missing something bc the solution cannot be this coplicated. I am using the Kadence theme.

  • Hi there!

    I don’t see any sites under your account, what’s the address of the site you’re working on?

    Please note that these forums are for WordPress.com hosted sites only. If your site is using the open-source WordPress.org software, we won’t be able to help you out and you’ll want to seek help at these forums:

    https://wordpress.org/support/forums/

  • The topic ‘How to remove spacing beneath heading (H1, H2, etc)?’ is closed to new replies.