• Resolved jknetdesign

    (@jknetdesign)


    https://growersice.com/

    See the titles in bold I tried H2 tags but they positioned below the image. What class do I edit in the css to get the text to wrap the image so I can go back to header tags?

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

    (@chipbennett)

    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;
    }
    Thread Starter jknetdesign

    (@jknetdesign)

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

    Theme Author Chip Bennett

    (@chipbennett)

    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.

    Thread Starter jknetdesign

    (@jknetdesign)

    Perfect thank you.

    Theme Author Chip Bennett

    (@chipbennett)

    Glad to help! Thanks for using Oenology.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    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.