Support » Theme: Oenology » H2 tags won't clear images

Viewing 6 replies - 1 through 6 (of 6 total)
  • Theme Author Chip Bennett

    (@chipbennett)

    Theme Review Admin

    I’m not sure I’m following exactly what you’re wanting to do?

    All the headings (h1-h6) are set to clear:both;, so all headings are designed to clear floats. So, if the image is floated, the headings should clear the float.

    If you don’t want H2 headings to clear the floated image, set:

    h2 {
        clear: none;
    }

    If you see it now I put it back to H2 tags. Yes I do want them to clear.

    Theme Author Chip Bennett

    (@chipbennett)

    Theme Review Admin

    Yes I do want them to clear.

    They are clearing floats. That’s why the headings are appearing below the image.

    If you don’t want them to clear, you need to apply this style:

    h2 {
        clear: none;
    }

    Then, the image will float inline with the headings.

    Perfect thank you.

    Theme Author Chip Bennett

    (@chipbennett)

    Theme Review Admin

    Glad to help! Thanks for using Oenology.

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    And Thank you, Chip Bennett, for your contributions to the WordPress community 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘H2 tags won't clear images’ is closed to new replies.