My Text Doesn’t Wrap Around My Images

Posted on Thursday, June 18th, 2009 at 3:58 pm in

When you’re inserting images into a post, you align them left or right. But when you publish the post, the images are all aligned to the left with the text starting below them.

What’s wrong?

The most likely answer is that your theme is missing the crucial bit of CSS (display) code that would allow the post text to wrap around your images. Try adding the following to the bottom of your theme’s stylesheet:

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;

.alignleft {
	float: left;

.alignright {
	float: right;

WordPress Theme Development