Forums

[resolved] How to stop text wrapping around images? (5 posts)

  1. wordpressfaces
    Member
    Posted 2 years ago #

    I've got a problem with the formatting of images/text on individual post pages on a blog I'm building.

    On the edit post page, the different paragraphs of text appear below the individual images, but when the post is viewed the text appears to the right of the images (as do the share icons), which I want to avoid.

    An example of a post with this problem is here:
    http://www.banksy- prints.com/2010/01/banksy-vs-king-robbo/
    (you need to remove the gap)

    Do I need to edit the CCS file? I tried looking for image alignment float code to edit, but had no luck.
    Any input much appreciated.

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

    Try removing float:left; from compressed.css in:

    p img {
    float:left;
    margin:1.5em 1.5em 1.5em 0;
    padding:0;
    }
  3. wordpressfaces
    Member
    Posted 2 years ago #

    Thanks, I removed float left with firebug and it solved the problem completely.
    The trouble is I don't seem to have a compressed.ccs file anywhere, despite firebox showing one. It isn't showing in my theme editor from the admin dashboard, or via my ftp for the site. The only css files I can see are style.css and ie.css, and this bit of code doesn't appear in either. Any ideas why compressed.css isn't showing? Or how I could access it?
    Thanks

  4. Rev. Voodoo
    Volunteer Moderator
    Posted 2 years ago #

    a plugin perhaps?

  5. wordpressfaces
    Member
    Posted 2 years ago #

    Found the file to edit finally, problem solved.
    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic