Title: Header alignment
Last modified: May 11, 2018

---

# Header alignment

 *  Resolved [sdyk2018](https://wordpress.org/support/users/sdyk2018/)
 * (@sdyk2018)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/header-alignment-4/)
 * I’ve been fooling around this morning, but haven’t figured it out.
 * Is there a way to make the “Header Logo” centered? I can do Left and Right but
   not Centered. It’s not a huge issue if it isn’t possible, but would look nicer(
   imo).
 * ***EDIT*** Came across another problem: how can I change the Layout of the Menu
   without the Admin Bar at the top of the page? If need be I can submit some screenshots
   of the issues. If I try to use span, it also messes up the Admin Bar.
    -  This topic was modified 8 years, 3 months ago by [sdyk2018](https://wordpress.org/support/users/sdyk2018/).

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

 *  [George Appiah](https://wordpress.org/support/users/gappiah/)
 * (@gappiah)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/header-alignment-4/#post-10060264)
 * > I’ve been fooling around this morning,
 * I’ll tell Mama!
 * > Is there a way to make the “Header Logo” centered? I can do Left and Right 
   > but not Centered. It’s not a huge issue if it isn’t possible, but would look
   > nicer (imo).
 * Styling issues like this are controlled by the theme you’re using for your site,
   and not universally by WordPress itself.
 * But, of course, we can add code to override the default options in your theme.
   Head over to **APPEARANCE => EDIT CSS** and stick the following in there:
 *     ```
       #logo {
       float: none;
       text-align: center;
       margin-left: auto;
       margin-right: auto;
       }
       ```
   
 * This will center the site TITLE and TAGLINE (tagline is currently blank). But
   the border around the title will expand to fill the entire width of the page.
 * If you want to shrink the border around the TITLE (as you had previously), add`
   max-width:500px`, so that the full code becomes:
 *     ```
       #logo {
       float: none;
       text-align: center;
       margin-left: auto;
       margin-right: auto;
       max-width:500px;
       }
       ```
   
 *  Thread Starter [sdyk2018](https://wordpress.org/support/users/sdyk2018/)
 * (@sdyk2018)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/header-alignment-4/#post-10061021)
 * Solved, thanks 🙂
 *  [George Appiah](https://wordpress.org/support/users/gappiah/)
 * (@gappiah)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/header-alignment-4/#post-10061832)
 * I’m glad I could be of help.
 * Stay blessed 😀

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

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [George Appiah](https://wordpress.org/support/users/gappiah/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/header-alignment-4/#post-10061832)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
