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! > adding to already edited CSS?
deshund (New Admin) 3/1/2009 4:52 PM EST : adding to already edited CSS?
deshund
Posts: 105
Posts With Wolves

i just started messing with our guilds web page and im pretty much a newb and web design and such.   So ive been playing with my GP< website enemy2horde.guildportal.com > and im not sure how to continue. i want to change my contentbox background to transparent, but i enter the code in the css and nothing happens, and i just supposed to add new content to the bottom of CSS or change the already existing numbers/words?
TopBottom

Mottie (MVP) 3/1/2009 7:31 PM EST : RE: adding to already edited CSS?
GuildPortal MVP
Mottie
Posts: 3884
Zomgawsh Poster

Hi Deshund!

I took a look at your CSS and it looks like your ".ContentBox" CSS definition has a background color set and that's why you can't see through the transparent background image... so try doing this, switch them! Modify these lines in your CSS:
.ContentBox { background: transparent url(http://i201.photobucket.com/albums/aa236/Mottie1/guildsite/styles/BoxBkgd.png); border: solid 1px #dbbf95; }
.ContentBoxBody { background: transparent ; color: #ffffff; padding: 5px; }
You'll end up seeing some black lines inside these boxes, these are your ".AltGridRow" and ".NormGridRow" definitions. I don't know if you wanted to modify those as well, but if you do, here is that CSS:
.AltGridRow { background-color: transparent; color: #dbbf95; }
.NormGridRow { background-color: transparent; color: #dbbf95; }
I hope that works for you!
TopBottom

deshund (New Admin) 3/2/2009 4:37 AM EST : RE: adding to already edited CSS?
deshund
Posts: 105
Posts With Wolves

yep that worked great, so i think im seeing that if i want to change something i can cut out what i want changed and throw in the new stuff.  Sorry for the newbness, but i am starting to like playing with this.

ok, another question.... 

    when adding to the CSS, do i need to use the Cleancss.com website everytime i add new script ( like at the bottom) or is that a 1 time thing?
TopBottom

Mottie (MVP) 3/2/2009 5:20 AM EST : RE: adding to already edited CSS?
GuildPortal MVP
Mottie
Posts: 3884
Zomgawsh Poster

Hi Deshund!

When you add new CSS, just add it to the bottom of the existing CSS. If you modify existing CSS, you can just edit it in place. But remember CSS is read from the top down, so if you re-define something at the bottom of the CSS/page, it over-rides the first one.

CleanCSS.com is just nice for cleaning up the CSS, I wouldn't necessarily use it every time I add CSS. It's more for making that jumbled mess of CSS more readable when you first add it.
TopBottom

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