Title: Change default code for inserting image in post
Last modified: August 19, 2016

---

# Change default code for inserting image in post

 *  [Red1](https://wordpress.org/support/users/red1/)
 * (@red1)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/change-default-code-for-inserting-image-in-post/)
 * When inserting an image in a post WP 2.9.1 defaults the code to _class=alignleft_.
   This stops the text flowing around the image correctly for RSS feeds.
    I have
   to manually change the code to _align=”left”_ for it to work correctly. Is there
   a way of changing the default code so that it uses _align=”left”_ instead?
 * TIA

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/change-default-code-for-inserting-image-in-post/#post-1385049)
 * No. Edit your stylesheet instead and add `alignleft`.

Viewing 1 replies (of 1 total)

The topic ‘Change default code for inserting image in post’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [16 years, 3 months ago](https://wordpress.org/support/topic/change-default-code-for-inserting-image-in-post/#post-1385049)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
