Title: Adding header
Last modified: August 20, 2016

---

# Adding header

 *  Resolved [Empirevaleting1](https://wordpress.org/support/users/empirevaleting1/)
 * (@empirevaleting1)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/adding-header-4/)
 * I have changed my header from the template one, but now i want to put a image
   in the header again. but i take the file out via ftp and change it, but when 
   i load it, it has not changed. can anyone help please as i would just like to
   ad a outline off a car under my company name in the header. url is [http://www.mycarvaletingservices.co.uk](http://www.mycarvaletingservices.co.uk)
   and can i do it via header in WP editor?
    Thanks

Viewing 15 replies - 1 through 15 (of 35 total)

1 [2](https://wordpress.org/support/topic/adding-header-4/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/adding-header-4/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/adding-header-4/page/2/?output_format=md)

 *  [haxxxton](https://wordpress.org/support/users/haxxxton/)
 * (@haxxxton)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/adding-header-4/#post-2878550)
 * you should be able to edit the header.php file in the editor, yea.
 * It looks like the image that you are trying to link to isnt on your site. Make
   sure that you ALSO upload the header.png image to the images folder in your theme
   directory 🙂
 *  Thread Starter [Empirevaleting1](https://wordpress.org/support/users/empirevaleting1/)
 * (@empirevaleting1)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/adding-header-4/#post-2878553)
 * Just uploaded the header.png to images, how do i put the image of the outline
   of the car on top of the header? and thanks for that, i did know they had to 
   be in the image file. do i put it in the css and the header, as im puting it 
   in css but not showing.
 *  [haxxxton](https://wordpress.org/support/users/haxxxton/)
 * (@haxxxton)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/adding-header-4/#post-2878555)
 * there looks like there are a few css issues that i think might need changing:
 * line 483: #access{
 * delete the line that says
    `margin-top:-180px;`
 * your header should appear correctly then
 *  Thread Starter [Empirevaleting1](https://wordpress.org/support/users/empirevaleting1/)
 * (@empirevaleting1)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/adding-header-4/#post-2878559)
 * Just tryed that but nothing happened, someone give me this code to put in the
   css so it will float over my the company name but not working.
 * #header {
    background: url(“images/outline header.png”) no-repeat top left; height:
   60px; }
 *  [haxxxton](https://wordpress.org/support/users/haxxxton/)
 * (@haxxxton)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/adding-header-4/#post-2878560)
 * i can still see that you have the code that you need to delete present..
 * please look for line 483 that looks like
 *     ```
       #access {
           background-image: url("images/navbg.jpg");
           display: block;
           height: 43px;
           margin-left: 32px;
           margin-top: -180px;
           position: relative;
           width: 980px;
           z-index: 3;
       }
       ```
   
 * you need to REMOVE the section that says `margin-top: -180px;`
 *  Thread Starter [Empirevaleting1](https://wordpress.org/support/users/empirevaleting1/)
 * (@empirevaleting1)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/adding-header-4/#post-2878562)
 * I did but it didnt work so i put back in, but it is out now and still it hasnt
   changed anything. do i need to put a float on the image that i want on top of
   the company name image?
 *  [haxxxton](https://wordpress.org/support/users/haxxxton/)
 * (@haxxxton)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/adding-header-4/#post-2878563)
 * I would also suggest the following:
 * on line 256 that looks like:
 *     ```
       #header {
           background-image: url("images/header.png");
           background-repeat: no-repeat;
           height: 335px;
           margin-left: 30px;
           margin-top: 80px;
           position: relative;
           width: 100%;
           z-index: 0;
       }
       ```
   
 * replacing `margin-top: 80px;` with `padding-bottom: 80px;`
 * it also looks as if there is no content populating your <h1> tag.. you may need
   to look in your header.php for the section that says:
 * `<h1 id="site-title"><a href="<?php bloginfo('url'); ?>" title="" rel="home">
   </a></h1>`
 * and replace it with
 * `<h1 id="site-title"><a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('
   name'); ?>" rel="home"><?php bloginfo('name'); ?></a></h1>`
 *  [haxxxton](https://wordpress.org/support/users/haxxxton/)
 * (@haxxxton)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/adding-header-4/#post-2878564)
 * if you are finding that changes arent appearing you may need to clear your cache..
 * have a look [HERE](http://www.wikihow.com/Clear-Your-Browser%27s-Cache) for how
   to do this on your browser
 *  Thread Starter [Empirevaleting1](https://wordpress.org/support/users/empirevaleting1/)
 * (@empirevaleting1)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/adding-header-4/#post-2878567)
 * Thanks for that, i cleared it and now it is showing. do i have to change the 
   other codes you said, has now the company name as gone. and how can i get the
   car image in the middle of the header?
 *  Thread Starter [Empirevaleting1](https://wordpress.org/support/users/empirevaleting1/)
 * (@empirevaleting1)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/adding-header-4/#post-2878569)
 * i think it maybe because the company name is a image with a white BG and the 
   outline of a car image as a white bg, could this be why they both dont show?
 * And in my header file there is know h1 id,
 *  Thread Starter [Empirevaleting1](https://wordpress.org/support/users/empirevaleting1/)
 * (@empirevaleting1)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/adding-header-4/#post-2878572)
 * the only coding i found like that is this one
 * <div id=”header”>
    <?php $heading_tag = ( is_home() || is_front_page() ) ? ‘h1’:‘
   div’; ?> <<?php echo $heading_tag; ?> id=”site-title”>
 * 
 *  [haxxxton](https://wordpress.org/support/users/haxxxton/)
 * (@haxxxton)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/adding-header-4/#post-2878574)
 * actually its because you are trying to set both images to the same div..
 * outline_header.png and header.png need to be set to different areas..
 * instead of the last thing i said to change to instead try this:
    `<h1 id="site-
   title"><a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"
   rel="home"><img src="<?php bloginfo('template_url'); ?>/images/header.png" />
   </a></h1>`
 * then if you go to here: [http://pastebin.com/SyhxQ5AE](http://pastebin.com/SyhxQ5AE)
 * replace your entire styles.css with that code.. you should then have what youre
   after hopefully 🙂
 *  [haxxxton](https://wordpress.org/support/users/haxxxton/)
 * (@haxxxton)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/adding-header-4/#post-2878575)
 * please use the
 * > `
 * ‘s so that the code appears..
 *  Thread Starter [Empirevaleting1](https://wordpress.org/support/users/empirevaleting1/)
 * (@empirevaleting1)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/adding-header-4/#post-2878576)
 * but i havnt got a h1 div file like that one in my header file. is it the code
   that i just posted. and i get what you mean by the two headers, so do i have 
   to put a _ on one?
 *  Thread Starter [Empirevaleting1](https://wordpress.org/support/users/empirevaleting1/)
 * (@empirevaleting1)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/adding-header-4/#post-2878578)
 * that code as taken the header out all thgther from the site

Viewing 15 replies - 1 through 15 (of 35 total)

1 [2](https://wordpress.org/support/topic/adding-header-4/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/adding-header-4/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/adding-header-4/page/2/?output_format=md)

The topic ‘Adding header’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 35 replies
 * 2 participants
 * Last reply from: [Empirevaleting1](https://wordpress.org/support/users/empirevaleting1/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/adding-header-4/page/3/#post-2878602)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
