Title: [Theme: Twenty Twelve] adding a extra header
Last modified: August 21, 2016

---

# [Theme: Twenty Twelve] adding a extra header

 *  Resolved [rubberfishstudios](https://wordpress.org/support/users/rubberfishstudios/)
 * (@rubberfishstudios)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/theme-twenty-twelve-adding-a-extra-header/)
 * I would like to have a header placed in the space above the white body.
    I am
   not sure where to code in the new header. I have been looking for hours. I also,
   don’t know what the code should look like. I have a URL of the image I would 
   like to use as my header.
 * Here is the site: [http://286.43a.myftpupload.com](http://286.43a.myftpupload.com)
 * Please Help.
    Thanks!

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/theme-twenty-twelve-adding-a-extra-header/#post-4546588)
 * Are you using a [child theme](http://codex.wordpress.org/Child_Themes)?
 *  Thread Starter [rubberfishstudios](https://wordpress.org/support/users/rubberfishstudios/)
 * (@rubberfishstudios)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/theme-twenty-twelve-adding-a-extra-header/#post-4546692)
 * This is my first wordpress site. I started messing with the code and then later
   found out about child themes. I am currently not using a child theme. I am transiting
   to one. However, I would still like to know where to place the new header code
   so it is above the page not on the white of the page.
 * Thanks!
 *  [batharoy](https://wordpress.org/support/users/batharoy/)
 * (@batharoy)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/theme-twenty-twelve-adding-a-extra-header/#post-4546694)
 * Make sure it’s in your child-theme or it will be erased with any theme updates.
   
   This would make the image clickable and link to the homepage.
 * `<div id="custom-logo"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel
   ="home"><img src="LINK TO LOGO" /></a></div>`
 * You would place it just below the `<body <?php body_class(); ?>>` in the header.
   php file.
 * Depending on the width you would need to style with css and would go in the style.
   css file:
 *     ```
       #custom-logo {
           margin: 0 auto;
       }
       ```
   
 *  Thread Starter [rubberfishstudios](https://wordpress.org/support/users/rubberfishstudios/)
 * (@rubberfishstudios)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/theme-twenty-twelve-adding-a-extra-header/#post-4546712)
 * That is amazing!! Thank you. I can tweak most of it to do what I want with padding
   and margin.
 * But for some reason it doesn’t want to
    align: center;
 * what should I do?
 *  [batharoy](https://wordpress.org/support/users/batharoy/)
 * (@batharoy)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/theme-twenty-twelve-adding-a-extra-header/#post-4546716)
 * #custom-logo {
    text-align: center; }
 *  Thread Starter [rubberfishstudios](https://wordpress.org/support/users/rubberfishstudios/)
 * (@rubberfishstudios)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/theme-twenty-twelve-adding-a-extra-header/#post-4546717)
 * batharoy, Can you help me with a child theme issue that I am having?

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

The topic ‘[Theme: Twenty Twelve] adding a extra header’ is closed to new replies.

## Tags

 * [editor](https://wordpress.org/support/topic-tag/editor/)
 * [header](https://wordpress.org/support/topic-tag/header/)
 * [html](https://wordpress.org/support/topic-tag/html/)
 * [page](https://wordpress.org/support/topic-tag/page/)
 * [twenty twelve](https://wordpress.org/support/topic-tag/twenty-twelve/)

 * 6 replies
 * 3 participants
 * Last reply from: [rubberfishstudios](https://wordpress.org/support/users/rubberfishstudios/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/theme-twenty-twelve-adding-a-extra-header/#post-4546717)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
