Title: Image Alignment
Last modified: August 20, 2016

---

# Image Alignment

 *  [reylocal](https://wordpress.org/support/users/reylocal/)
 * (@reylocal)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/image-alignment-11/)
 * Hello,
    Trying to align images right using the options given by WordPress from
   the image upload/insert options. But all the images keep being aligned left. 
   Can anyone help or provide me with a hack around it?

Viewing 1 replies (of 1 total)

 *  [jkovis](https://wordpress.org/support/users/jkovis/)
 * (@jkovis)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/image-alignment-11/#post-2224344)
 * Can you post a link to your site?
 * In the meantime, you may want to try adding the following code (taken from the
   2011 default theme) to your theme’s style.css file:
 *     ```
       .alignleft,
       img.alignleft {
       	display: inline;
       	float: left;
       	margin-right: 24px;
       	margin-top: 4px;
       }
       .alignright,
       img.alignright {
       	display: inline;
       	float: right;
       	margin-left: 24px;
       	margin-top: 4px;
       }
       .aligncenter,
       img.aligncenter {
       	clear: both;
       	display: block;
       	margin-left: auto;
       	margin-right: auto;
       }
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Image Alignment’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [jkovis](https://wordpress.org/support/users/jkovis/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/image-alignment-11/#post-2224344)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
