WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Image positioning not behaving as it should? within a post (3 posts)

  1. surfichick
    Member
    Posted 2 years ago #

    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/

  2. vtxyzzy
    Member
    Posted 2 years ago #

    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; }
  3. surfichick
    Member
    Posted 2 years ago #

    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 :)

Topic Closed

This topic has been closed to new replies.

About this Topic