WordPress.org

Ready to get started?Download WordPress

Forums

wrap text to image breaks at h4 (3 posts)

  1. mgason
    Member
    Posted 2 years ago #

    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]

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

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

  3. mgason
    Member
    Posted 2 years ago #

    Hi,
    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

Topic Closed

This topic has been closed to new replies.

About this Topic