• I can not see what to write in the CSS to remove this very big space below all the headlines like h1, h2, h3 etc. I know many WordPress user finds this annoying. Do any of you know how to remove and adjust the space?

Viewing 8 replies - 1 through 8 (of 8 total)
  • do you have a link to the page?

    Thread Starter metusalem

    (@metusalem)

    within the CSS, there is this piece of code:

    .content h3 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 15px;
    }

    You will need to change the “margin-bottom: 15px” to be whatever value you like. If you have a custom CSS area, then you could just use the code below to overwrite:

    .content h3 {
      margin-bottom: 0px;
    }
    Thread Starter metusalem

    (@metusalem)

    Thank you, but I have tried to insert the code, and nothing changes. Do you have an idea why?

    I dont see this code anywhere? I’ve added an important to try and help force it. The code below needs to be in style.css if using a child theme or a “custom css” area of your theme

    .content h3 {
      margin-bottom: 0px !important;
    }
    Thread Starter metusalem

    (@metusalem)

    I tried again to add your code in an admin place called additional code and also in the style.css file, but it seems like nothing change? I don’t understand why.

    Its worked fine, there are no margins underneath now, and I can see the code in your style.css file.

    Maybe try to press shift and refresh the page for a hard refresh and see if it changes for you

    Thread Starter metusalem

    (@metusalem)

    Hello again, yes it works here too. For some reason there are 2 style.css files and only one of them worked!

    Thanks a lot for the help. It’s much appreciated 🙂

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Remove headline spacing/line height’ is closed to new replies.