View Full Version : background color of just the currently active users area
boandmichele
01-25-2009, 05:32 PM
i have searched through all kinds of stuff on in the forumhome template, and i cannot figure out how to change the color of the currently active users area. i know that it is alt1, but i'm still not sure what to change.
i am adding a dark style on our site, and putting it together myself from a duplicate default theme. we have the html markup mod for our users, and when you put together different username colors with a dark background, you get unreadable text. :)
any ideas? i figure maybe this is something that can be done in the stylesheet, but i'm clueless as to what to do. :D
Lynne
01-25-2009, 05:46 PM
add style="background-color: yellow" into the td tag (change yellow to whatever color you want).
boandmichele
01-25-2009, 06:00 PM
put it in there?
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
<a href="online.php$session[sessionurl_q]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
</td>
Lynne
01-25-2009, 06:09 PM
I thought you wanted to change the background where the usernames are listed?
<td class="alt1" style="background-color: yellow" width="100%">
<div class="smallfont">
<div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
<div>$activeusers</div>
</div>
</td>
boandmichele
01-25-2009, 06:10 PM
i did :o
im still learning. that did it. thanks lynne :)
--------------- Added 1232914676 at 1232914676 ---------------
one more thing i noticed. how would i change the text color of "Most users ever online..."?
Lynne
01-25-2009, 07:57 PM
You can probably put the css inline in the div tag:
<div style="white-space: nowrap; color: yellow">
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.