PDA

View Full Version : How to change only CSS color in "Users Browsing Forum Section"


Keesa
06-05-2008, 11:23 PM
Hi there,

Our main forum link color is a dark red.

I would like to be able to change that only in the What's Going On section, where all the user names are displayed so that our various team colors for moderators and admins etc, would show up better?

Would anyone know where I would do that in the CSS code?

Thanks so much.

http://i29.tinypic.com/xljaf4.gif

Princeton
06-06-2008, 11:50 AM
you can edit the cell background color in the forumhome template by adding inline style to the table/row/cells - (it's up to you)

you can do so in the form
style="background-color:gold"

to change the links you will have to add a new class (class="newlinkcolor")

<div>$activeusers</div>
change to

<div class="newlinkcolor">$activeusers</div>

now in your CSS (main css), add the following (change to suit your needs)


.newlinkcolor
{
background: transparent;
color: gold;
font: 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.newlinkcolor a:link
{
color: gold
}
.newlinkcolor a:visited
{
color: gold
}
.newlinkcolor a:hover, .newlinkcolor a:active
{
color: black;
}

not tested