Title: Left align not working &#8211; a CSS issue
Last modified: August 21, 2016

---

# Left align not working – a CSS issue

 *  Resolved [riksan](https://wordpress.org/support/users/riksan/)
 * (@riksan)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/left-align-not-working-a-css-issue/)
 * Hi
    Newbie who’s managing my site, which someone else built for me years ago.
   He is no longer available to ask! I’m having problems with left align (right 
   align seems to wrap ok). Having trawled the forum I see it is often a problem
   with the theme CSS. I looked in my theme CSS and it is essentially empty bar 
   for a few lines about the guy who developed it. I tried adding the code as suggested
   in other posts:
 *     ```
       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}
       .alignright {float:right; }
       .alignleft {float:left; }
       .aligncenter {display: block; margin-left: auto; margin-right: auto}
       ```
   
 * But nothing seems to happen.
    Does the CSS actually work – or is it being overridden
   from something else – given that it essentially is empty apart from what I’ve
   just put in.
 * Thanks for your help

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

 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/left-align-not-working-a-css-issue/#post-4205512)
 * We need to see your site to help with any CSS issues.
 *  Thread Starter [riksan](https://wordpress.org/support/users/riksan/)
 * (@riksan)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/left-align-not-working-a-css-issue/#post-4205514)
 * [http://www.backclinics.co.uk](http://www.backclinics.co.uk)
 * Thanks
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/left-align-not-working-a-css-issue/#post-4205651)
 * Can you specify an image that’s not behaving? Your home page seems to have a 
   slider on it but no regular images?
 *  Thread Starter [riksan](https://wordpress.org/support/users/riksan/)
 * (@riksan)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/left-align-not-working-a-css-issue/#post-4205682)
 * [http://www.backclinics.co.uk/who-we-are/staff-therapies-at-sheffield/](http://www.backclinics.co.uk/who-we-are/staff-therapies-at-sheffield/)
 * The top picture with the Olympic rings will align left but the text doesn’t wrap.
   AS an example I’ve set the next picture as align right – which seems to wrap 
   the text ok
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/left-align-not-working-a-css-issue/#post-4205685)
 * I don’t see that CSS on your site – I do see this:
 *     ```
       .content img.alignright {
       	float: right;
       	margin: 0 0 10px 20px;
       	background-color: #fff;
       	padding: 3px;
       	border: 1px solid #c8cbcf;
       }
   
       .content img.aligncenter {
       	background-color: #fff;
       	padding: 3px;
       	border: 1px solid #c8cbcf;
   
       }
       ```
   
 * But the alignleft seems to be missing. Where did you add it?
 * Try adding this to the bottom of your screen.css file:
 *     ```
       .content img.alignleft {
       	float: left;
       	margin: 0 20px 10px 0;
       	background-color: #fff;
       	padding: 3px;
       	border: 1px solid #c8cbcf;
       }
       ```
   
 *  Thread Starter [riksan](https://wordpress.org/support/users/riksan/)
 * (@riksan)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/left-align-not-working-a-css-issue/#post-4205687)
 * Where do I find the screen.css file? Can I access it in WordPress or do I need
   to ftp it?
 * Sorry – I am pretty new to this!
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/left-align-not-working-a-css-issue/#post-4205697)
 * _screen.css _is in an subfolder _/css/_ of your theme, and probably can’t get
   edited from within the dashboard.
 * you could use FTP to edit it;
    or it might be better if you use a ‘custom CSS’
   plugin to addd the styles; [http://wordpress.org/plugins/search.php?q=custom+css](http://wordpress.org/plugins/search.php?q=custom+css)
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/left-align-not-working-a-css-issue/#post-4205698)
 * Oh sorry, good catch alchymyth (as always) :).
 *  Thread Starter [riksan](https://wordpress.org/support/users/riksan/)
 * (@riksan)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/left-align-not-working-a-css-issue/#post-4205702)
 * Perfect – that worked! Now to tidy up the rest of the site
 * Thanks a lot for your help guys

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

The topic ‘Left align not working – a CSS issue’ is closed to new replies.

## Tags

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

 * 9 replies
 * 3 participants
 * Last reply from: [riksan](https://wordpress.org/support/users/riksan/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/left-align-not-working-a-css-issue/#post-4205702)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
