WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Image positioning not behaving as it should? within a post

[Resolved] Image positioning not behaving as it should? within a post

  • I’ve just integrated a wordpress blog with my site, all good so far.
    I added a test post with images centered and aligned right. Said images are being pushed left.
    The entry content is in a parent container that is floated left, (sidebar is floated right) are the containers children also adopting this left float I wonder?
    Any ideas would be awesome as i’ve been going round in circles for ages, thanks 🙂

    The site:
    http://www.celticquestcoasteering.com/blog/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The problem seems to be that your style.css file does not have any rules for alignment. Try adding this to the end of style.css:

    div.aligncenter { margin: auto; }
    div.alignright       { clear: both; float: right; }

    vtxyzzy
    Thanks ever so much for taking a look.
    That did the trick, it also got me to thinking, so i took a look at the wp twentyeleven theme and copied its alignment styling across.
    Problem solved, its almost ready for me to import my blogspot blog…..woohoo, thanks again 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Image positioning not behaving as it should? within a post’ is closed to new replies.