Forums

Text won't wrap around image (11 posts)

  1. ardleigh
    Member
    Posted 2 years ago #

    Please check out this page http://ardleighbedandbreakfast.co.uk/?page_id=2

    the image doesn't go where I want it to go even though on the CMS it looks fine. The text should wrap around the right hand side. Please help

    Thanks

  2. ardleigh
    Member
    Posted 2 years ago #

    anyone?

  3. alchymyth
    The Sweeper
    Posted 2 years ago #

    you need to add a style for '.alignleft' in your style.css

  4. ardleigh
    Member
    Posted 2 years ago #

    thanks

  5. ardleigh
    Member
    Posted 2 years ago #

    should there be a button to update my style.css when I have added that?

  6. alchymyth
    The Sweeper
    Posted 2 years ago #

    yes, under the editor window. if not, you need to change the file permissions. there is a link to the codex where it is explained how to do it.

  7. bigwordmagazine
    Member
    Posted 2 years ago #

    Hi,
    I'm having the same issue: text won't wrap around images, even though I've followed all the steps.

    What's wrong with this?
    <img class="size-medium wp-image-2491 alignleft" title="mary-dambrosio-sardinia-e" src="http://www.bigworldmagazine.com/wp-content/uploads/2009/11/mary-dambrosio-sardinia-e.jpg" alt="" width="225" height="194" /><p style="text-align: left;">

    Thanks!

  8. jonimueller
    Member
    Posted 2 years ago #

    "Followed all the steps" ... are you sure? For the .alignleft class you should have:

    .alignleft {
       display: inline;
       float: left;
    //add padding and margins and borders as you see fit//
    }

    :)

  9. bmose14
    Member
    Posted 2 years ago #

    @jonimueller

    thanks! that worked perfectly for me. I am using some free template and I just added the following (minus the comments):

    .alignleft {
       display: inline;
       float: left;
    }
    .alignright {
       display: inline;
       float: right;
    }
    .aligncenter {
       display: inline;
       float: center;
    }
  10. afternoon schmoozer
    Member
    Posted 1 year ago #

    please forgive my newbie question, but where exactly do you place this .alignleft, etc. in style.css?

  11. Brielle
    Member
    Posted 1 year ago #

    Thx Joni, this solved my prob too!!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.