Title: Image alignment problems even after adding extra code
Last modified: August 20, 2016

---

# Image alignment problems even after adding extra code

 *  [missbritt](https://wordpress.org/support/users/missbritt/)
 * (@missbritt)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/image-alignment-problems-even-after-adding-extra-code/)
 * Here is my style sheet:
 * _[[CSS code moderated – please just post a link to your site]](http://codex.wordpress.org/Forum_Welcome#Posting_Code)_
 * I’ve added the additional code, but images in pages/posts still aren’t aligning
   left or right as selected.
 * For example:
 * [http://inpursuitofhappiness.net/about/](http://inpursuitofhappiness.net/about/)
 * The picture at the top of the post should be aligned right.

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [Adam Blodgett](https://wordpress.org/support/users/epymetheus/)
 * (@epymetheus)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/image-alignment-problems-even-after-adding-extra-code/#post-2639945)
 * Have you tried deactivating your plugins?
 * There’s a bit of code just above the entry for the AddThis Button, but I don’t
   see the AddThis Button showing up. If that’s a plugin you’ve added, try deactivating
   it and see what happens.
 * A.
 *  Thread Starter [missbritt](https://wordpress.org/support/users/missbritt/)
 * (@missbritt)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/image-alignment-problems-even-after-adding-extra-code/#post-2639949)
 * Decativated and didn’t change.
 * The code is there because I’m using the AddThis widget, but I have chosen not
   to display it on pages or at the beginning of posts.
 * Also, this is a page, not a post.
 *  [emaarkhan](https://wordpress.org/support/users/emaarkhan/)
 * (@emaarkhan)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/image-alignment-problems-even-after-adding-extra-code/#post-2639951)
 * Have you tried it from page? open up the page of about and click on the the image
   in ur editor, you will se 2 icons, one is like a little image and other is a 
   cancel red sign. click the first one which is little image, it will open a pop
   up for edit image and u will find option for image alignment i.e none,left,right
   etc. choose rght and save it and update your page.
    I hope it works.
 *  Thread Starter [missbritt](https://wordpress.org/support/users/missbritt/)
 * (@missbritt)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/image-alignment-problems-even-after-adding-extra-code/#post-2639959)
 * [@emaarkhan](https://wordpress.org/support/users/emaarkhan/)
 * I opened it from page and the right alignment was already selected. Just to be
   sure, I selected it again and saved the page; no change. I also set the class
   manually to alignright and removed the link to the image; still no change.
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/image-alignment-problems-even-after-adding-extra-code/#post-2639962)
 * the only styles for `.alignright` etc are added in the `@media print` section
   of the stlysheet;
 * add another set of image alignment styles into the `@media screen` section near
   the beginning of style.css
 *  [emaarkhan](https://wordpress.org/support/users/emaarkhan/)
 * (@emaarkhan)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/image-alignment-problems-even-after-adding-extra-code/#post-2639966)
 * The image is using class .alignright which isn’t in ur css of page, open up ur
   stylesheet under editor and add it to very end of the style.css file.save and
   check it
 *  Thread Starter [missbritt](https://wordpress.org/support/users/missbritt/)
 * (@missbritt)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/image-alignment-problems-even-after-adding-extra-code/#post-2639967)
 * [@alchymyth](https://wordpress.org/support/users/alchymyth/)
 * That did it!! Thank you!! I didn’t notice that in the theme before (and I’ve 
   never seen it in any other theme. How odd!!)

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Image alignment problems even after adding extra code’ is closed to new
replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 4 participants
 * Last reply from: [missbritt](https://wordpress.org/support/users/missbritt/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/image-alignment-problems-even-after-adding-extra-code/#post-2639967)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
