Title: Image alignment not working
Last modified: August 19, 2016

---

# Image alignment not working

 *  [ad9f30](https://wordpress.org/support/users/ad9f30/)
 * (@ad9f30)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/image-alignment-not-working/)
 * When I insert an image and align it, it looks okay in the editor. When I save,
   however, and display the site post, it is as if I used alignment none. Also, 
   the caption displays nicely in the editor, but not the same in the actual post.
   How did this release get out the door with such an obvious problem?

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [educationthemes](https://wordpress.org/support/users/educationthemes/)
 * (@educationthemes)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/image-alignment-not-working/#post-833185)
 * The CSS file of your theme may be overiding your alignment. Perhaps there is 
   an img class in the content area that is set to do something else. E.g. if you
   CSS style.css file says that images float left then they will, even if you align
   an image to the right. Check your wp-content/themes/yourtheme/style.css for any
   img classes.
 *  [MoMowlam2](https://wordpress.org/support/users/momowlam2/)
 * (@momowlam2)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/image-alignment-not-working/#post-833524)
 * I think this is the case with Elements of SEO 1.2. The css has this:
 * #content p img{
    float: left; border: none; margin-right: 15px; margin-bottom:
   10px; padding-top: 7px; }
 * And images do indeed float left, wherever I try to set them. Changing this to
   float:right does align them right – but that isn’t always what I want.
 * What do I change it to, so the Flash upload setting don’t get over-ridden? I 
   want images to float, but not always the same way.
 *  [MoMowlam2](https://wordpress.org/support/users/momowlam2/)
 * (@momowlam2)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/image-alignment-not-working/#post-833525)
 * Maybe the images just don’t need to float – maybe the Flash uploader takes care
   of that?
 *  [Marjolijn Harvey](https://wordpress.org/support/users/mafgirl/)
 * (@mafgirl)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/image-alignment-not-working/#post-833536)
 * I had the same problem and i had no img tags in my css, have now tried to add
   a view to resolve the problem and its seem better but still my images are all
   over the place, my html viewer says my images should be left, center, right etc,
   so surely they should be nicely in a row as is in my editor, yet they are all
   over the place. EVEN when i delete all img tags that i added.
    this is the page
   where all img should be in a row but are not [http://mafgirl.com/blog/2008/10/emerald-quay-south-point/](http://mafgirl.com/blog/2008/10/emerald-quay-south-point/)
 *  [iridiax](https://wordpress.org/support/users/iridiax/)
 * (@iridiax)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/image-alignment-not-working/#post-833537)
 * You may need to add the css code found on this page to your theme’s style.css:
 * [http://codex.wordpress.org/CSS](http://codex.wordpress.org/CSS)
 *  [mtonumaa](https://wordpress.org/support/users/mtonumaa/)
 * (@mtonumaa)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/image-alignment-not-working/#post-833598)
 * It works! 🙂
    [http://codex.wordpress.org/CSS](http://codex.wordpress.org/CSS)
 * this was the fix:
 * .alignleft {
    float: left; }

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Image alignment not working’ is closed to new replies.

## Tags

 * [alignment](https://wordpress.org/support/topic-tag/alignment/)
 * [image alignment](https://wordpress.org/support/topic-tag/image-alignment/)
 * [image problem](https://wordpress.org/support/topic-tag/image-problem/)
 * [images](https://wordpress.org/support/topic-tag/images/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 6 participants
 * Last reply from: [mtonumaa](https://wordpress.org/support/users/mtonumaa/)
 * Last activity: [17 years, 1 month ago](https://wordpress.org/support/topic/image-alignment-not-working/#post-833598)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
