Title: background image width
Last modified: August 21, 2016

---

# background image width

 *  Resolved [Samuel](https://wordpress.org/support/users/sjturnm/)
 * (@sjturnm)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/background-image-width/)
 * I’m having some difficulty locating the css that controls the custom background.
   I want to add a value that allows me to scale it to 100%.

Viewing 1 replies (of 1 total)

 *  Theme Author [vee](https://wordpress.org/support/users/okvee/)
 * (@okvee)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/background-image-width/#post-4446772)
 * [@samuel](https://wordpress.org/support/users/samuel/)
 * please add this code in header.php of the theme.
 *     ```
       <style type="text/css">
       body.custom-background {
       	background-size: cover;
       }
       </style>
       ```
   
 * this will make background size full page. It works only browser that support 
   css 3

Viewing 1 replies (of 1 total)

The topic ‘background image width’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/bootstrap-basic/1.3.9/screenshot.
   png)
 * Bootstrap Basic
 * [Support Threads](https://wordpress.org/support/theme/bootstrap-basic/)
 * [Active Topics](https://wordpress.org/support/theme/bootstrap-basic/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/bootstrap-basic/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/bootstrap-basic/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [vee](https://wordpress.org/support/users/okvee/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/background-image-width/#post-4446772)
 * Status: resolved