WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Text still not wrapping around image (6 posts)

  1. minceonion
    Member
    Posted 2 years ago #

    Hi everyone, I've followed many of the comments on this topic but still cannot resolve this issue.

    I have been trying to get my text to wrap around the image - initially when I update the page, it seems to change then something overrides the action.

    My problem or considerable challenge page is at: http://defylimits.com.au/?page_id=17

    Any help would be appreciated. Cheers

  2. Your entire content is wrapped in <h5>. Headings are meant for headings not the entire body copy. Try changing it to paragraphs instead.

  3. minceonion
    Member
    Posted 2 years ago #

    Thanks Christine, took out all the Headings and made into paragraphs. Unfortunately didn't make any difference.

    Any other ideas?

  4. minceonion
    Member
    Posted 2 years ago #

    I should add, in Visual mode, the page appears with the text wrapped - it is only when I view the page that it changes?

  5. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    from the html code of the left aligned image:

    <div class="loading" style="position: relative; width: 208px; height: 310px; background-image: none;"><a style="opacity: 1; position: absolute; width: 198px; height: 300px;" href="http://defylimits.com.au/wp-content/uploads/2011/11/Trainer1.jpg"><img class="alignleft size-medium wp-image-406" title="Laurie Meerwald - Trainer" src="http://defylimits.com.au/wp-content/uploads/2011/11/Trainer1-198x300.jpg" alt="Laurie Meerwald - Qualified Trainer" width="198" height="300"></a></div>

    the image is in a div with fixed width, and the text is outside of the div - there is no way for the text to wrap.

    seems to be done with javascript - is that done with a plugin for some image effects?

  6. minceonion
    Member
    Posted 2 years ago #

    Thanks alchymyth, I took your advice about the div preventing the wrap and simply extended the div to cover the entire paragraph.

    I'm not really sure if this is the right thing to do but it sorted out the problem and now its working. The confusing part is that all my plugins are turned off, so I don't understand why this happened.

    Either way, its now working and I really appreciate your help.

    Thanks again.

Topic Closed

This topic has been closed to new replies.

About this Topic