Title: Style Sheet &#8211; Header alignment
Last modified: August 19, 2016

---

# Style Sheet – Header alignment

 *  [dkelly85](https://wordpress.org/support/users/dkelly85/)
 * (@dkelly85)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/style-sheet-header-alignment/)
 * Hi,
 * Hoping someone can help. I’m trying to edit the style sheet and want to change
   the alignment. Currently it is centred, which I don’t like the look of. I good
   example of this on my blog is [http://www.clarosoftware.com/blog/?p=75 ](http://www.clarosoftware.com/blog/?p=75)
 * Does anyone know what exactly to edit in the css file? Any help would be much
   appreciated.
 * Thanks

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

 *  [Peter Boosten](https://wordpress.org/support/users/pboosten/)
 * (@pboosten)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/style-sheet-header-alignment/#post-1280317)
 * It isn’t centered, but justified.
 * add `text-align: left;` to the h2 tag in your stylesheet, like this:
 *     ```
       h2 {
         margin:30px 0 0;
         text-align:left;
       }
       ```
   
 * line 348 in your style.css, however this will also look strange for that particular
   header.
 * Peter
 *  Thread Starter [dkelly85](https://wordpress.org/support/users/dkelly85/)
 * (@dkelly85)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/style-sheet-header-alignment/#post-1280322)
 * Hi Peter,
 * Thanks for that. Much appreciated.
 * Daniel
 *  [landia](https://wordpress.org/support/users/landia/)
 * (@landia)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/style-sheet-header-alignment/#post-1280657)
 * Hi Peter,
 * I have a similar question but do not want to use exact positioning – I want to
   align the element using % instead so that it shifts accordingly when the page
   is resized. Can you help?
 * Thanks,
    Landia
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/style-sheet-header-alignment/#post-1280658)
 * Site url?

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

The topic ‘Style Sheet – Header alignment’ is closed to new replies.

## Tags

 * [alignment](https://wordpress.org/support/topic-tag/alignment/)
 * [css](https://wordpress.org/support/topic-tag/css/)
 * [headers](https://wordpress.org/support/topic-tag/headers/)
 * [style sheets](https://wordpress.org/support/topic-tag/style-sheets/)

 * 4 replies
 * 4 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [16 years, 6 months ago](https://wordpress.org/support/topic/style-sheet-header-alignment/#post-1280658)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
