WordPress Image Align Feature Not Working

WordPress Image Align Feature Not Working

You finally upgraded your wordpress to the current version and uhh the wordPress image align feature not working. There is one WordPress feature that was introduced with version 2.5 that I didn’t understand: the image alignment feature of the “Add media” editor. Why? Because it never worked! never worked.

Picture-1374

Sometimes your in a furry so you don’t get a chance to trouble shoot it here is the solution. Add the following code to your CSS style sheet.

img.centered {

display: block;

margin-left: auto;

margin-right: auto;

}

img.alignright {

padding: 4px;

margin: 0 0 2px 7px;

display: inline;

}

img.alignleft {

padding: 4px;

margin: 0 7px 2px 0;

display: inline;

}

.alignright {

float: right;

}

.alignleft {

float: left;

}

That’s it problem solved.

People who read this also read:
  • 10 Great Wordpress Hacks & Tricks
  • How to add Adsense ads Between wordpress Post
  • Choose Your Wordpress sidebar
  • WordPress Under Attack
  • The Rise of Fast Food Content
  • Powerful CMS
  • Password Protect Your Entire Wordpress Website
  • If you have any questions, addtional information, or found this helpful "Leave a Comment" below.
    • I don’t usually reply to posts but I will in this case, great info...I will add a backlink and bookmark your site. Keep up the good work! :)
    blog comments powered by Disqus