Title: Adding a conditional for HEADER_IMAGE (WP 3.0)
Last modified: August 19, 2016

---

# Adding a conditional for HEADER_IMAGE (WP 3.0)

 *  Resolved [multiplier](https://wordpress.org/support/users/multiplier/)
 * (@multiplier)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/adding-a-conditional-for-header_image-wp-30/)
 * I like that v3.0 allows for a custom header, but on most themes it’s rendered
   as an <img>. In my theme, I want the image path to be the background of <div>
   instead.
 * So is there a conditional that checks to see whether an image has been uploaded,
   and if so, adds an inline style with a path to header_image?

Viewing 1 replies (of 1 total)

 *  Thread Starter [multiplier](https://wordpress.org/support/users/multiplier/)
 * (@multiplier)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/adding-a-conditional-for-header_image-wp-30/#post-1599243)
 * Sorry guys – just found my answer –
 * [http://wordpress.org/support/topic/418783?replies=4](http://wordpress.org/support/topic/418783?replies=4)

Viewing 1 replies (of 1 total)

The topic ‘Adding a conditional for HEADER_IMAGE (WP 3.0)’ is closed to new replies.

 * 1 reply
 * 1 participant
 * Last reply from: [multiplier](https://wordpress.org/support/users/multiplier/)
 * Last activity: [15 years, 10 months ago](https://wordpress.org/support/topic/adding-a-conditional-for-header_image-wp-30/#post-1599243)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
