Space above heading

  • Posted in : Read WP
  • chrislovietyler
    Participant

    I have *one* heading I’d like to remove the above space from.

    I’ve tried this:

    I don’t want space above this heading

    but it doesn’t seem to work.

    Any suggestions?

    Mehmet S.
    Keymaster

    Which heading?

    chrislovietyler
    Participant

    It’s an “h3” heading about half-way down my home page.

    Because of where it sits beneath an image, there is quite a bit of white space above it.

    I want to add an inline tag to remove the usual space that comes before the heading.

    I’d tried adding a “class=margin-top: 0” attribute to my “h3” tag, but that didn’t remove the space. (Sorry, I’d put the line of CSS in my comment above, but it didn’t render.)

    Any suggestions?

    Mehmet S.
    Keymaster

    Try this: style="margin-top: 0;"

    chrislovietyler
    Participant

    No, that doesn’t do it. There is still the usual space between the paragraph before it and the h3 title.

    Any other suggestions?

    Mehmet S.
    Keymaster

    Try this: style="padding-top: 0;"

    chrislovietyler
    Participant

    No, that doesn’t seem to work either. It’s OK, I’ve found another way around it. Thanks.

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register