WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] H2 Spacing Issue

[Resolved] H2 Spacing Issue

  • I have an issue with the spacing in my blog that is driving me insane. I’d like to direct you toward this page on my website to visualize my point.

    See how all the text is bunched up with the first two H2s?

    If I press “enter” in the visual part of the post, it will double space it or not add any space at all! I’ve entered
    tags, but that just double spaces everything as well.

    I’m pretty sure I’m going to have to change the CSS somehow, although I’m not sure where. Can I add a “line-height” element somewhere? I check and there is no specific formatting for my H2s. Then again, I’m not too great with CSS so you’d have to be kinda specific with me.

    If you do choose to help, bless your heart. Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator cubecolour

    @numeeja

    ɹoʇɐɹǝpoɯ

    Add this to your style.css:

    #colLeft h2 {
    	font-weight: bold;
    	margin: 36px 0 12px 0;
    }

    As well as adding some margin to the H2 headings you won’t need to make them bold when editing them as I’ve added in the rule to also take care of that.

    Well that was easy enough!

    Thanks a lot cubecolour.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] H2 Spacing Issue’ is closed to new replies.
Skip to toolbar