Title: Header Help?
Last modified: August 19, 2016

---

# Header Help?

 *  [dinataruni](https://wordpress.org/support/users/dinataruni/)
 * (@dinataruni)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/header-help-5/)
 * This is what my header.php says:
 * <?php
    /** * [@package](https://wordpress.org/support/users/package/) WordPress*
   @subpackage Default_Theme */ ?> <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 
   Transitional//EN” “[http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt](http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt);
   <html xmlns=”[http://www.w3.org/1999/xhtml&#8221](http://www.w3.org/1999/xhtml&#8221);
   <?php language_attributes(); ?>>
 * <head profile=”[http://gmpg.org/xfn/11″&gt](http://gmpg.org/xfn/11″&gt);
    <meta
   http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?
   php bloginfo(‘charset’); ?>” />
 * <title><?php wp_title(‘«’, true, ‘right’); ?> <?php bloginfo(‘name’); ?></title
   >
 * <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/
   css” media=”screen” />
    <link rel=”pingback” href=”<?php bloginfo(‘pingback_url’);?
   >” />
 * <style type=”text/css” media=”screen”>
 * <?php
    // Checks to see whether it needs a sidebar or not if ( empty($withcomments)&&!
   is_single() ) { ?> #page { background: url(“<?php bloginfo(‘stylesheet_directory’);?
   >/images/kubrickbg-<?php bloginfo(‘text_direction’); ?>.jpg”) repeat-y top; border:
   none; } <?php } else { // No sidebar ?> #page { background: url(“<?php bloginfo(‘
   stylesheet_directory’); ?>/images/kubrickbgwide.jpg”) repeat-y top; border: none;}
   <?php } ?>
 * </style>
 * <?php if ( is_singular() ) wp_enqueue_script( ‘comment-reply’ ); ?>
 * <?php wp_head(); ?>
    </head> <body <?php body_class(); ?>> <div id=”page”>
 * <div id=”header” role=”banner”>
    <div id=”headerimg”> <h1>/”><?php bloginfo(‘
   name’); ?></h1> <div class=”description”><?php bloginfo(‘description’); ?></div
   > </div> </div> <hr />
 * The image that I would like to be my header is: [http://www.dharmabakery.com/blog/wp-content/uploads//header_3.jpg](http://www.dharmabakery.com/blog/wp-content/uploads//header_3.jpg)
 * Where in the code do I put that to make it display correctly?

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

 *  [Funkphenomenon](https://wordpress.org/support/users/funkphenomenon/)
 * (@funkphenomenon)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/header-help-5/#post-1372896)
 * You could use CSS to set the image as a background:
    `#headerimg { background:#
   fff url("http://www.dharmabakery.com/blog/wp-content/uploads/header_3.jpg") no-
   repeat 9px 1px; } See style.css, line 260.
 *  Thread Starter [dinataruni](https://wordpress.org/support/users/dinataruni/)
 * (@dinataruni)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/header-help-5/#post-1372929)
 * But where am I supposed to insert that? I’ve tried that before and it just stays
   white.
 *  Thread Starter [dinataruni](https://wordpress.org/support/users/dinataruni/)
 * (@dinataruni)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/header-help-5/#post-1372935)
 * OK I got it to display but there is weird white writing over it and white space
   around it. How do I get rid of that?
 *  Thread Starter [dinataruni](https://wordpress.org/support/users/dinataruni/)
 * (@dinataruni)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/header-help-5/#post-1372982)
 * Please help?
 *  Thread Starter [dinataruni](https://wordpress.org/support/users/dinataruni/)
 * (@dinataruni)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/header-help-5/#post-1373118)
 * Anyone? I’m sure it’s really easy I just don’t know how to do it. I read the 
   section in the Docs about the header and i tried to do what it said and it didn’t
   really get me anywhere.
 *  [Funkphenomenon](https://wordpress.org/support/users/funkphenomenon/)
 * (@funkphenomenon)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/header-help-5/#post-1373144)
 * Looks like you got gid of the white text with a text-indent. The white border
   around the image is in the image itself, so if you want to get rid of that, you
   need to crop the white border off the image.
 *  Thread Starter [dinataruni](https://wordpress.org/support/users/dinataruni/)
 * (@dinataruni)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/header-help-5/#post-1373181)
 * The white border is not in the image. And there is still white text over my image,
   too. That’s why the text for “Dharma Bakery” looks all funny… because there are
   random white letters that white out bits and pieces. I’ve been trying to fix 
   it but haven’t gotten anywhere. Can someone help me?
 *  Thread Starter [dinataruni](https://wordpress.org/support/users/dinataruni/)
 * (@dinataruni)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/header-help-5/#post-1373183)
 * Also, I noticed that the header doesn’t stay at the top of the page when I click
   on one of the entries.

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

The topic ‘Header Help?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 2 participants
 * Last reply from: [dinataruni](https://wordpress.org/support/users/dinataruni/)
 * Last activity: [16 years, 4 months ago](https://wordpress.org/support/topic/header-help-5/#post-1373183)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
