Title: Background Image for header
Last modified: August 24, 2016

---

# Background Image for header

 *  Resolved [razorpig](https://wordpress.org/support/users/mjtilbury/)
 * (@mjtilbury)
 * [11 years ago](https://wordpress.org/support/topic/background-image-for-header/)
 * I’m trying to prevent my header from shrinking beyond a certain point on mobile
   devices. I’ve set a minumum height of 75px but it still squashes horizontally
   below a width of 480px. If I set a minumun width the header extends beyond the
   navigation bar on smaller screens. I’ve read that using the “background” property
   instead of the “img” property can help in these situations. I’ve tried removing
   the header image under theme options and adding the following code :
 * #header-content {
    background-image: url(header_image.png); }
 * …but it hasn’t worked. Can anyone help?
 * [http://www.razorweb.co.uk](http://www.razorweb.co.uk)

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

 *  [wanderingbedou](https://wordpress.org/support/users/wanderingbedou/)
 * (@wanderingbedou)
 * [11 years ago](https://wordpress.org/support/topic/background-image-for-header/#post-6118508)
 * In your styles.css in the Catch Box Child theme you set up, change
 *     ```
       #branding img {
           min-height: 75px;
       }
       ```
   
 * to
 *     ```
       #branding img {
           min-width: 480px;
       }
       ```
   
 * The header image stops shrinking at 480px in Firefox and Chrome once that change
   was made.
 *  Thread Starter [razorpig](https://wordpress.org/support/users/mjtilbury/)
 * (@mjtilbury)
 * [11 years ago](https://wordpress.org/support/topic/background-image-for-header/#post-6118537)
 * Thank you wnaderingbedou! Works perfect 😉

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

The topic ‘Background Image for header’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [razorpig](https://wordpress.org/support/users/mjtilbury/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/background-image-for-header/#post-6118537)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
