Title: Main Content Background Image
Last modified: August 22, 2016

---

# Main Content Background Image

 *  Resolved [jfkirkpatrick](https://wordpress.org/support/users/jfkirkpatrick/)
 * (@jfkirkpatrick)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/main-content-background-image/)
 * I apologize in advance if this is a repeat question but when I did a search I
   received tons responses from wordpress.org in general, not ..support/theme/virtue!!
   
   The Main Content Background/Upload background image allows me to upload an image
   but it appears on every page. I did not see where I could have an image (Banner,
   if you will)? The Home page is static. In advance, thank you for your help. John
   PS: Currently, I am running this in my localhost waiting for the customer to 
   move her domain name to a hosting site. I anticipate that I will purchase the
   premium theme before too long!! My experience is HTML, CSS, PHP, MySQL and some
   JavaScript.

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

 *  [hannah](https://wordpress.org/support/users/hannahritner/)
 * (@hannahritner)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/main-content-background-image/#post-5844867)
 * Hi John,
    You can do this using css. Something like this:
 *     ```
       .pg-id-170 .contentclass {
       background: url()
       }
       ```
   
 * You would just replace the page id with your own and paste in your desired url.
   Then paste that into your custom css box in Theme Options > Advanced Settings.
   
   Hope that helps!
 * Hannah
 *  [hannah](https://wordpress.org/support/users/hannahritner/)
 * (@hannahritner)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/main-content-background-image/#post-5844868)
 * Sorry, make sure you add a semi colon after the url. So it would be this:
 *     ```
       .pg-id-170 .contentclass {
       background: url(YOUR URL);
       }
       ```
   
 *  Thread Starter [jfkirkpatrick](https://wordpress.org/support/users/jfkirkpatrick/)
 * (@jfkirkpatrick)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/main-content-background-image/#post-5844915)
 * Hannah,
    Thank you for the quick response and I will make the change. Thanx again.
   John

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

The topic ‘Main Content Background Image’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/virtue/3.4.15/screenshot.png)
 * Virtue
 * [Support Threads](https://wordpress.org/support/theme/virtue/)
 * [Active Topics](https://wordpress.org/support/theme/virtue/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/virtue/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/virtue/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [jfkirkpatrick](https://wordpress.org/support/users/jfkirkpatrick/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/main-content-background-image/#post-5844915)
 * Status: resolved