Title: Adding Header Image Breaks Style
Last modified: August 18, 2016

---

# Adding Header Image Breaks Style

 *  Resolved [digitaltwitch](https://wordpress.org/support/users/digitaltwitch/)
 * (@digitaltwitch)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/adding-header-image-breaks-style/)
 * Hi there,
 * Still a super novice when it comes to code and I’m trying to insert a new header
   image into my page with some success. I can get the header image to appear by
   editing my header.php file but then the site’s style seems to just shatter.
 * I thought that it might be the size of the image, but, I reduced its size considerably
   to no avail. Below is the code I inserted according to the theme’s author (THEME:
   BLACK LETTERHEAD 1.2)
 * <style type=”text/css” media=”screen”>
    #header { background: url(“<?php bloginfo(‘
   stylesheet_directory’); ?>/images/filmstripheadersmall.gif”) no-repeat bottom
   center; } #header { margin: 0 !important; margin: 0 0 0 1px; padding: 1px; height:
   270px; width: 760px; } #headerimg { margin: 7px 9px 0; height: 270px; width: 
   760px; } </style> <?php wp_head(); ?> </head> <body> <div id=”page”> <div id=”
   header”> <div id=”headerimg”> <h1>“><?php bloginfo(‘name’); ?></h1> <div class
   =”description”><?php bloginfo(‘description’); ?></div> </div>
 * My ste is [http://www.philabatecola.com](http://www.philabatecola.com)
 * Also, I’ve followed the thread that is based off of the author’s instructions
   and I only get what you seen now.
 * The wordpress.org instructions on header modification seems lacking as it is 
   not written for code idiots such as myself.
 * With that said, if you have any idea on what I’m doing wrong and know how to 
   fix it, detailed and idiot proof instructions would be very awesome.
 * Thanks,
 * Phil

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

 *  [ghanshyamgadhiya](https://wordpress.org/support/users/ghanshyamgadhiya/)
 * (@ghanshyamgadhiya)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/adding-header-image-breaks-style/#post-532668)
 * I think you have style sheet problem.
    check out this line in your header.php
   file
 * <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/
   css” media=”screen” />
 * i think your script dont get link to style.css file thats why you got this problem.
 *  Thread Starter [digitaltwitch](https://wordpress.org/support/users/digitaltwitch/)
 * (@digitaltwitch)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/adding-header-image-breaks-style/#post-532829)
 * Thanks! You know what solved the issue was the newest version of the Black Letterhead
   theme! Version 1.3 has a theme editor and it made the process visual, and idiot
   proof!
 *  [ghanshyamgadhiya](https://wordpress.org/support/users/ghanshyamgadhiya/)
 * (@ghanshyamgadhiya)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/adding-header-image-breaks-style/#post-532844)
 * ok.

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

The topic ‘Adding Header Image Breaks Style’ is closed to new replies.

 * 3 replies
 * 2 participants
 * Last reply from: [ghanshyamgadhiya](https://wordpress.org/support/users/ghanshyamgadhiya/)
 * Last activity: [19 years, 1 month ago](https://wordpress.org/support/topic/adding-header-image-breaks-style/#post-532844)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
