Support » Themes and Templates » wrap text to image breaks at h4

  • I have text wrapping around my images properly but as soon as there is a heading in the text it breaks to below the image.
    This does not happen when I build a plain HTML page with dreamweaver and add the same classes from the wordpress codex.

    Is there a way around this?
    I used a span with style to simulate the h4 but simulating headings seems like a bad SEO move. OK maybe not h4, but h1 and h2. Also it makes my client need to do HTML, not desirable. Here is a sample of the code which breaks, it flows fine until the h4.

    [Code moderated as per the Forum Rules. Please use the pastebin]

Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi


    Forum Moderator

    Unless you provide a link to a page demonstrating the problem, no one will be able to offer much in the way of assistance.

    thanks. I was really just looking for a “it should not do that” or “thats just how it is.” No site to show.
    I discovered my theme was using clear:both in its heading 1-6 css. Just in case they did that for some reason rather than just remove it from all headings, I made 2 classes to remove it which I use just when wrapping text with headings, using clear:left and clear:right to over-ride the basic theme h1-6

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wrap text to image breaks at h4’ is closed to new replies.