Title: insert image in header
Last modified: August 20, 2016

---

# insert image in header

 *  [pipevel](https://wordpress.org/support/users/pipevel/)
 * (@pipevel)
 * [14 years ago](https://wordpress.org/support/topic/insert-image-in-header-1/)
 * Hello everybody,
 * Thanks a lot for the support,
 * I have been having some truble inserting an image to my header, this is mis stilesheet:
 * #header{position:relative; width:900px; margin: 0px; padding: 0px; height:120px;
   overflow-x:hidden;margin: 0 auto; background: url (public_html/wp-content/uploads/
   2012/image002.jpg) top left no-repeat;
    height: header image height goes here(
   e.g. 100px);}
 * The template im using is Minimalist 1 by Joey Robinson, its suposed i would have
   to display the logo: [http://urbancoach.es:2082/cpsess4088555211/frontend/x3/filemanager/showfile.html?file=image002.jpg&fileop=&dir=%2Fhome%2Furban702%2Fpublic_html%2Fwp-content%2Fuploads%2F2012&dirop=&charset=&file_charset=&baseurl=&basedir=](http://urbancoach.es:2082/cpsess4088555211/frontend/x3/filemanager/showfile.html?file=image002.jpg&fileop=&dir=%2Fhome%2Furban702%2Fpublic_html%2Fwp-content%2Fuploads%2F2012&dirop=&charset=&file_charset=&baseurl=&basedir=)
 * In my header..

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

 *  [zeaks](https://wordpress.org/support/users/zeaks/)
 * (@zeaks)
 * [14 years ago](https://wordpress.org/support/topic/insert-image-in-header-1/#post-2638279)
 * This should do what you want
 *     ```
       #header {
       background: url('http://urbancoach.es/wp-content/uploads/2012/image002.jpg') top left;
       display:block;
       background-repeat: no-repeat;
       height:54px;
       width:221px;
       margin-left: 100px;
       }
       #header h1, #header h2 {display: none;}
       ```
   
 * This will also hide the current title and tagline. If you want to keep them, 
   then remove the #header h1, #header h2 {display: none;} part, and also remove
   the margin-left: 100px;
 *  Thread Starter [pipevel](https://wordpress.org/support/users/pipevel/)
 * (@pipevel)
 * [14 years ago](https://wordpress.org/support/topic/insert-image-in-header-1/#post-2638352)
 * Thanks!! 😉
 *  Thread Starter [pipevel](https://wordpress.org/support/users/pipevel/)
 * (@pipevel)
 * [14 years ago](https://wordpress.org/support/topic/insert-image-in-header-1/#post-2638452)
 * Hello Zeaks!
 * Another little cuestion,
 * And if i have to add a link to my image?
 * I tried this:
 * #header {
    background: url(‘[http://urbancoach.es/wp-content/uploads/2012/logo.png&#8217](http://urbancoach.es/wp-content/uploads/2012/logo.png&#8217);)
   top left; display:block; background-repeat: no-repeat; height:180px; width:300px;
   margin-left: -18px; } #header a span { visibility: hidden; }
 * <div id=”header” onclick=”location.href=’[http://www.elwebmaster.com/'”&gt](http://www.elwebmaster.com/&apos;”&gt);
   #
   header {cursor:pointer}

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

The topic ‘insert image in header’ is closed to new replies.

## Tags

 * [insert images](https://wordpress.org/support/topic-tag/insert-images/)
 * [template](https://wordpress.org/support/topic-tag/template/)

 * 3 replies
 * 2 participants
 * Last reply from: [pipevel](https://wordpress.org/support/users/pipevel/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/insert-image-in-header-1/#post-2638452)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
