0

If you are using WordPress with the built in image uploader, and the image align characteristics are not working for you, the fix is a simple modification to your theme’s Stylesheet.css file.

In the Admin control panel just navigate to Design | Theme Editor and over on the right side of the list of files select your Stylesheet to edit. It will usually say: Stylesheet (style.css)

Add the following lines anywhere you want within the stylesheet and then save the document and you should be good to go.

img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
a img.alignright {float:right; margin:0 0 1em 1em}
a img.alignleft {float:left; margin:0 1em 1em 0}
a img.aligncenter {display: block; margin-left: auto; margin-right: auto}

If your Stylesheet is not editable, you may have to use your FTP client to go in and change the permissions on the files.

DeliciousStumbleUponDiggTwitterMixxTechnoratiFacebookNews VineRedditLinkedInYahoo! BookmarksSphinn It!Hyves
Tags: , , ,

Related posts

  1. Tutorial: Add 3 Centered Columns to Wordpress FooterThis post describes how to add variable width, centered columns of stuff to the Worpress footer. Not sure what I...
  2. Tutorial: What To Do When WordPress Auto-Update FailsI don’t know about the rest of you, but I’ve experienced many instances where the Auto-update feature in WordPress fails...
  3. Customize the Wordpress Login Screen in 10 StepsTo my normal readers… sorry, but this post is not for you. I’ve been asked technical questions by several people...
  4. Wordpress Plugin: WP Admin Bar ReloadedWP Admin Bar is an indispensable Wordpress plugin which displays links to the Administration Panel at the top of a...
  5. WP Super Cache Speeds Up WordPress BlogsDonncha O’Caoimh, one of WordPress’ lead developers spent the last few weeks working on a brand new plugin called WP...
  6. Free Wordpress Theme: Rapid AccessAs a result of three Digg homepage appearances over a period of a few weeks bringing my blog to it’s...
  7. WordPress: Homepage Ads ONLY After The First ArticleHave you ever wondered how to show Google ads on your WordPress blog’s home page, but only after the very...