Title: Remove header image from template
Last modified: August 30, 2016

---

# Remove header image from template

 *  [iangdesign](https://wordpress.org/support/users/iangdesign/)
 * (@iangdesign)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/remove-header-image-from-template/)
 * Can anyone help me out? I am trying to create a new php template for a website
   using the home page template. The current file is calling a header image and 
   I would like it removed for this new template. Any ideas how to get rid of that
   in the new file?
 * I do not want the massive header image at the beginning of this page. [http://www.sbbl.biz/full-width-test/](http://www.sbbl.biz/full-width-test/)
 * Thanks!

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

 *  [Bloke](https://wordpress.org/support/users/bloke/)
 * (@bloke)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/remove-header-image-from-template/#post-6375487)
 * In your CSS put:
    .header-img { display: none; }
 *  Thread Starter [iangdesign](https://wordpress.org/support/users/iangdesign/)
 * (@iangdesign)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/remove-header-image-from-template/#post-6375529)
 * Wouldn’t adding that to the css negate the header image from showing up on all
   the other pages? The only page(s) I wouldn’t want a header image to show would
   be the ones that would be using this custom template.
 *  [Bloke](https://wordpress.org/support/users/bloke/)
 * (@bloke)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/remove-header-image-from-template/#post-6375544)
 * Ok. So you will need to look around in your theme files to see where it loads
   the header image. Look in the header.php file first. It might be a template page.
   Then you can use is_page( ‘example’ ) to load the image if it is not this page
   or ! in_category( array( )) [https://codex.wordpress.org/Conditional_Tags](https://codex.wordpress.org/Conditional_Tags)
 *  Thread Starter [iangdesign](https://wordpress.org/support/users/iangdesign/)
 * (@iangdesign)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/remove-header-image-from-template/#post-6375582)
 * I ended up using your above example in the CSS and seperating at the pages where
   the header was not needed by the page id. There are only a few. Thanks again 
   for your help.
 * Ian G.

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

The topic ‘Remove header image from template’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [iangdesign](https://wordpress.org/support/users/iangdesign/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/remove-header-image-from-template/#post-6375582)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
