Sign Up! Login: Password: New User? Forgot? Support
Top Mods!
Wowhead Search
by sonofsamedi
Digital Clock
by Wolfar15
Admin Forums
Welcome to the GuildPortal Help Community! These forums are for admin-to-admin help.
Available Forums
Forums : Pimp My Site! > Making a single Content Box Body transparent
Freckle_7 (Guild Admin) 8/8/2008 6:15 AM EST : Making a single Content Box Body transparent
Freckle_7
Posts: 580
Zomgawsh Poster

Hi all!

I'm using a css and want to make a single Content Box Body with a transparent background.

The Content Box I'm using is a free-form box, but always defaults to the background color I have set for the whole site.

How can I change the background for a single box?
Thanks!
___________________________________________________
Catapultam habeo. Nisi pecuniam omnem mihi dabis, ad caput tuum saxum immane mittam.
TopBottom

Mottie (MVP) 8/11/2008 8:50 AM EST : RE: Making a single Content Box Body transparent
GuildPortal MVP
Mottie
Posts: 3884
Zomgawsh Poster

I just posted this thread.. I hope it helps! 

Hmm, now that I read this again, you just want the background changed, not the box borders removed... if the above doesn't do what you wanted, then try this:

Add this to the top of your content box, while in HTML mode ()
<div height="100%" width="100%" style="background:#222222;">
then just add this to the very bottom
</div>
Edit the color in red to the background color you want.
TopBottom

Freckle_7 (Guild Admin) 8/11/2008 9:55 AM EST : RE: Making a single Content Box Body transparent
Freckle_7
Posts: 580
Zomgawsh Poster

Why, oh why, did I ever doubt you Mottie?!?

At first, I thought you didn't understand what I wanted.
I spent almost 2 hours trying to research things, and got frustrated.

I wondered about how the "hiding box borders" would look, so I cut and pasted your "hiding box borders" code, and (s.o.a.b.) it worked!

Thanks, so much! You rock!


Here it is in action... The Abyss
___________________________________________________
Catapultam habeo. Nisi pecuniam omnem mihi dabis, ad caput tuum saxum immane mittam.
TopBottom

Mottie (MVP) 8/11/2008 11:01 AM EST : RE: Making a single Content Box Body transparent
GuildPortal MVP
Mottie
Posts: 3884
Zomgawsh Poster

Well then, you do want to read the thread I made about hiding box borders (which includes the background).

I wasn't sure if you wanted to keep the title bar, but if you do, just substitute this CSS into the custom CSS for hiding the box borders
.ContentBoxTitle2 { color: #000000; font-weight: bold; text-align: left; border: #000000 1px solid; background: url('http://www.axiomfiles.com/Files/199226/gradient2.gif'); height:30px; padding:3px;}
or use this if you want to just hide the title bar all together
.ContentBoxTitle2 {visibility:hidden;}
TopBottom

Admins Online
There are   members online.
So-and-so has logged on!
%title%
%message%