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

---

# Main Content Background

 *  Resolved [RemoTorres](https://wordpress.org/support/users/remotorres/)
 * (@remotorres)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/main-content-background-1/)
 * Is there any way to change the opacity of the main content background to where
   it’s not completely transparent but translucent?
    Here’s the link to the site:
   [http://www.knoxvilledreamcenter.org/](http://www.knoxvilledreamcenter.org/)
 * So, instead of either white background or transparent, but rather in between,
   can that be done with this theme.
 * like adding this to the style.css?
    -moz-opacity:.50; filter:alpha(opacity=50);
   opacity:.50; and this: } #page { background: opacity:.50 #fff; }

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

 *  [hannah](https://wordpress.org/support/users/hannahritner/)
 * (@hannahritner)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/main-content-background-1/#post-5414123)
 * Hey, something like this should work:
 *     ```
       .contentclass{
       background: rgba(0,0,0,.15);
       }
       .headerclass {
       background: rgba(0,0,0,.15);
       }
       ```
   
 * This will make it apply to the footer:
 *     ```
       #containerfooter {
       background: rgba(0,0,0,.15);
       }
       ```
   
 * Just paste it into your custom css box in theme options > advanced settings.
   
   Hope that works for you! Hannah
 *  Thread Starter [RemoTorres](https://wordpress.org/support/users/remotorres/)
 * (@remotorres)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/main-content-background-1/#post-5414154)
 * Hi Hannah,
 * Thank you for the reply. Could you please explain to me the variables and how
   they behave? “rgba(0,0,0,.15)” I would like to have the ability to adjust the
   opacity and the color of the background for the content, header and the footer.
 * Thanks,
 * Remo
 *  Thread Starter [RemoTorres](https://wordpress.org/support/users/remotorres/)
 * (@remotorres)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/main-content-background-1/#post-5414156)
 * Nevermind. I figured it out. It worked great! Thank you so much for your help.
   Check it out if you like.
 *  [hannah](https://wordpress.org/support/users/hannahritner/)
 * (@hannahritner)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/main-content-background-1/#post-5414163)
 * Sorry, I should have explained. Glad you figured it out! Looks good:)

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

The topic ‘Main Content Background’ 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/)

## Tags

 * [semi transparent](https://wordpress.org/support/topic-tag/semi-transparent/)
 * [virtue theme](https://wordpress.org/support/topic-tag/virtue-theme/)

 * 4 replies
 * 2 participants
 * Last reply from: [hannah](https://wordpress.org/support/users/hannahritner/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/main-content-background-1/#post-5414163)
 * Status: resolved