WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] H2 Spacing Issue (3 posts)

  1. hardgain
    Member
    Posted 3 years ago #

    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

  2. cubecolour
    ɹoʇɐɹǝpoɯ
    Posted 3 years ago #

    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.

  3. hardgain
    Member
    Posted 3 years ago #

    Well that was easy enough!

    Thanks a lot cubecolour.

Topic Closed

This topic has been closed to new replies.

About this Topic