Title: Centering Header Image
Last modified: September 1, 2016

---

# Centering Header Image

 *  [allycowie](https://wordpress.org/support/users/allycowie/)
 * (@allycowie)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/centering-header-image-17/)
 * I’m just starting my site and I’m trying to center my header image. I have looked
   at lots of different threads and tried all kinds of suggestions, but nothing 
   seems to be working. Do I need to create a child theme?
 * My site is allycowie.com

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

 *  [Rafsun Chowdhury](https://wordpress.org/support/users/rafsuntaskin/)
 * (@rafsuntaskin)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/centering-header-image-17/#post-7628685)
 *     ```
       .header-image {
           text-align: center;
           margin: 0 auto;
       }
       ```
   
 * add this to bottom of your themes style.css
 *  [stephencottontail](https://wordpress.org/support/users/stephencottontail/)
 * (@stephencottontail)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/centering-header-image-17/#post-7628687)
 * Don’t edit the theme files directly, otherwise your changes will be overwritten
   whenever the theme is updated.
 * An easy way to add custom CSS is to install the [Jetpack plugin](https://jetpack.com/)
   and activate the [Custom CSS](https://jetpack.com/support/custom-css/) module.
   You’ll then add your custom CSS in the new stylesheet editor that’ll appear in
   your dashboard, under Appearance > Edit CSS.
 * As alternatives, you could either install a [standalone custom CSS plugin,](https://wordpress.org/plugins/search.php?q=custom+css)
   or create a [child theme.](https://developer.wordpress.org/themes/advanced-topics/child-themes/)

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

The topic ‘Centering Header Image’ is closed to new replies.

## Tags

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

 * 2 replies
 * 3 participants
 * Last reply from: [stephencottontail](https://wordpress.org/support/users/stephencottontail/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/centering-header-image-17/#post-7628687)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
