Hello, 

I have read various discussions about adding a semi-transparent background to the body of a site while allowing the text and other content to still be fully visible, but I can't get it to work on my site. 

I have added opacity css to the .xg_theme #xg_body and it makes the whole page semi transparent 

I added the same code to the .xg_theme .xg_module and it makes the whole module and content within it transparent. 

Please advise on how to create a semi transparent black background for my page that allows the content in the modules to still be fully visible. Similar to this site -  http://themeforest.net/item/clubber-events-music-wordpress-theme/fu... 

Your help would be very appreciated! 

Thanks! 

My site is still under construction - www.midwestmusik.com 

Tags: design, opacity, transparent

Views: 138

Reply to This

Replies to This Discussion

Try to set this instead:

#xg.xg_widget_main.xg_widget_main_index.xg_widget_main_index_index

have you tried #xg_body {

im almost doing that right now.... http://yubasutterconnect.com

I take it you've read through this is detail: http://www.ning.com/help/?p=3477

I've used the basic code from that for a couple of years now on my profile page on our site....I recently migrated to a slight gradient for the body area as things got difficult to read with a complex image in the background at times but you can see what I've done with static background http://www.navydads.com/profile/PaulCorona

for the body code I used:

#xg_body,
.xg_bodybg,
.xg_floating_container {
    background-repeat: repeat-x;
}

and


/*----------------------------------------------------------------------
    Body (#xg_body and descendants)
----------------------------------------------------------------------*/
#xg_body {
    background-position: left bottom;
         background-color:transparent;
}
#xg_body a:hover {
    color: #1A3459;
}
#xg_body h1 {
    background-color:transparent; },
.xg_module_head {
    background-color:#1a3459;
    color:#ffffff; },
.xg_module_body h3 {
    background-color:transparent; },
.xg_module_body caption {
    color: #1a3459;
}
.xg_module_head {
    border-bottom: 2px solid #1a3459;
}
.notitle {
    display:none!important;
}
ul.pagination li.this span {
    border-color: #fff;
    color: #1a3459;
}

Hey everyone thanks for your examples - I tried them all - what I ended up doing is using Photo shop to create an image that appears transparent by having the background layer source be the image I use in my website background then add another layer, a black (or any color you want) layer on top set to .3 opacity so that you see the background through it. When you save it as a png and upload it as the image for the main content, setting the modules to transparent - the background has a black shade over the background giving it the semi-transparent look I wanted. Thanks for your help! 

that is exactly the approach I've used recently:

RSS

Latest Activity


NC for Hire
Elson Tan replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"Great news, finally we can add some code to the head!"
30 minutes ago
sho allan replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"so NICE!!!"
35 minutes ago
James Hawkins replied to John Bizley's discussion 'I have a Question about the Social Channels ( youtube, vimeo )' in the group The Sandbox
"OK, now it's working. I had tried in both FF and  IE10 at the time. Some temporary glitch…"
41 minutes ago

NC for Hire
SweetPotato replied to John Bizley's discussion 'Show Your Ning 3.0 Sites'
"Sorry, that was for Kos, not you Diane, although she might have been talking to you and not me, in…"
1 hour ago
caro replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"c'est du beau travail mais j'ai tout ce qui me faut sur mon ning2 plus que le 3 je…"
2 hours ago
John Bizley replied to John Bizley's discussion 'I have a Question about the Social Channels ( youtube, vimeo )' in the group The Sandbox
"Thanks James, hmm all seems to be working on my end in both ie and firefox. Try again and let me…"
2 hours ago
Writer Chick {Diane} replied to John Bizley's discussion 'Show Your Ning 3.0 Sites'
"Oh, I wasn't even referring to my site. I don't care what people think about how my site…"
3 hours ago

NC for Hire
SweetPotato replied to John Bizley's discussion 'Show Your Ning 3.0 Sites'
"I don't think I was critiquing your site. Not even looked at it to tell the truth. Eye of the…"
4 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service