Need help? Check out our Support site, then


Image Align Doens't Work w/ WP2.7 & Flexibility Theme?

  1. Images are not aligning properly in live blog, nor is text wrapping after simultaneous 2.7 upgrade / change to Flexibility theme. They do align properly in the text editor.

    When I use the image editor, this is the code that is inserted:

    [caption id="attachment_31" align="aligncenter" width="150" caption="****"]<img class="size-thumbnail wp-image-31" title="****" src="http://****-150x150.jpg" alt="****" width="150" height="150" />[/caption]
     (Asterisks being names/titles.  Same issue for left and right alignment as well)

    I tested using
    align="right"
    instead of align="alignright" and that "fixed" things in the live blog.

    However, I have over 300 posts and don't want to go back and change the HTML code on every post.

    Is there a way to change the CSS - or anything else - to fix this?

    CSS code currently reads:
    img.alignleft { margin-right:10px; margin-bottom:5px; float: left; }
    img.alignright { margin-bottom:5px; margin-left:10px; float: right; }
    img.aligncenter { display: block; margin-left: auto; margin-right: auto; }

  2. You are in the wrong forum. Inquire over at http://wordpress.ORG/support/ which is where self-hosted wordpress blogs are supported. This is the wordpress.COM forum for those hosted here at the wordpress.COM free hosting service and things here work quite differently.

    See the sticky post at the top of the forum about the differences between .COM and .ORG.

Topic Closed

This topic has been closed to new replies.

About this Topic