Title: Responsive background image for widget
Last modified: August 24, 2016

---

# Responsive background image for widget

 *  [marlene23](https://wordpress.org/support/users/marlene23/)
 * (@marlene23)
 * [11 years ago](https://wordpress.org/support/topic/responsive-background-image-for-widget/)
 * Hi, I want to add a background image for my sidebar widgets. I dont know whether
   I should design an image as a specific size and use that ( which may be untidy?)–
   or if I can get some sort of ‘responsive background image plugin’ for widgets?
 * The site is at [http://www.npcounselling.co.uk](http://www.npcounselling.co.uk)
 * Thank you

Viewing 1 replies (of 1 total)

 *  [Chad](https://wordpress.org/support/users/lynneandchad/)
 * (@lynneandchad)
 * [11 years ago](https://wordpress.org/support/topic/responsive-background-image-for-widget/#post-6175835)
 * You could try this:
 *     ```
       .widget {
         background-image: url(path-to-image.jpg);
         background-size: contain;
       }
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Responsive background image for widget’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Chad](https://wordpress.org/support/users/lynneandchad/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/responsive-background-image-for-widget/#post-6175835)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
