Title: header.php question
Last modified: August 19, 2016

---

# header.php question

 *  [carolinekempf](https://wordpress.org/support/users/carolinekempf/)
 * (@carolinekempf)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/headerphp-question-3/)
 * Hello Very Smart World of Word Press Gurus!
 * I am learning and loving WP. I downloaded a theme and set about modifying the
   design to fit our personality. Everything has gone very smoothly except one thing.
   The theme had a link to the blog home page and description in the header. Based
   on my design, I don’t want it to appear. When I went into the header.php and 
   removed it. When I removed the selection of code that was creating the link it
   modified the spacing of the header graphic (moved it up slightly). Is there a
   way to “hide” these links so they don’t show through the design OR is there a
   way to delete it but keep the spacing as it is now?
 * Here is the code that is creating the section that is giving me the issue.
 * <div id=”header”>
    <h1>/”><?php bloginfo(‘name’); ?>
   </h1>
    <h2><span><?php bloginfo(‘
   description’); ?></span></h2>
 * To see how it is appearing go to [http://www.ckc411.com/wordpress](http://www.ckc411.com/wordpress).
   I really appreciate any help I can get.
 * Thanks.
 * Caroline

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

 *  [chaoskaizer](https://wordpress.org/support/users/chaoskaizer/)
 * (@chaoskaizer)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/headerphp-question-3/#post-958060)
 * > Is there a way to “hide” these links so they don’t show through the design
 * try add the below code inside your theme’s [style.css](http://www.ckc411.com/wordpress/wp-content/themes/japan-style/style.css)(
   at the bottom most)
 *     ```
       #header h1,#header h2{
        display:block;
        overflow:hidden;
        position:relative;
        text-indent: -999em;
       }
   
       #header #nav{ margin-top: -22px }
       ```
   
 *  Thread Starter [carolinekempf](https://wordpress.org/support/users/carolinekempf/)
 * (@carolinekempf)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/headerphp-question-3/#post-958096)
 * Hi,
 * I dropped that code into the “header” portion of the style.css. The links did
   hide, but it made the header_bg.jpg and bg.jpg disappear too. Is there a different
   spot I could place the code?
 * Caroline
 *  Thread Starter [carolinekempf](https://wordpress.org/support/users/carolinekempf/)
 * (@carolinekempf)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/headerphp-question-3/#post-958098)
 * I looked more closely. The code when added actually removed all the jpg graphics.
 * Caroline
 *  [chaoskaizer](https://wordpress.org/support/users/chaoskaizer/)
 * (@chaoskaizer)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/headerphp-question-3/#post-958140)
 * > I dropped that code into the “header” portion of the style.css
 * I dont quite follow you, can you just pretend and do what I exactly wrote above.
   Just copy paste it in your stylesheet (style.css) place it at bottom most of 
   the file. Dont mix it it with others code.
 * My previous css tweak, will hide the “text” (blog’s title & description) from
   view-port then adjust the header nav-menu position abit.
 *  Thread Starter [carolinekempf](https://wordpress.org/support/users/carolinekempf/)
 * (@carolinekempf)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/headerphp-question-3/#post-958191)
 * i followed your directions exactly yesterday. i didn’t make that part clear. 
   it eliminated all the graphics from view. when that happened i tried putting 
   it into the header section of the style.css.
 * Either way i do it the graphics disappear.
 * Here is the code in the header.php which is creating the problem
 * <div id=”header”>
    <h1>/”><?php bloginfo(‘name’); ?>
   </h1>
    <h2><span><?php bloginfo(‘
   description’); ?></span></h2>
 * I should be able to delete this all together and remove the title and description.
   But it uses this to account for spacing of the header_bg.jpg.
 * i have gone all through the forum and all the instructions removing this title
   don’t have <span> in the code.
 * Thoughts??
 * I feel like I am close because i have removed the first line of code and stripped
   the title, but it replaces the description with blog title when i do that.
 * [http://www.ckc411.com/wordpress](http://www.ckc411.com/wordpress)
 * any help is appreciated.

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

The topic ‘header.php question’ is closed to new replies.

## Tags

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

 * 5 replies
 * 2 participants
 * Last reply from: [carolinekempf](https://wordpress.org/support/users/carolinekempf/)
 * Last activity: [17 years, 5 months ago](https://wordpress.org/support/topic/headerphp-question-3/#post-958191)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
