vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   background color of just the currently active users area (https://vborg.vbsupport.ru/showthread.php?t=203067)

boandmichele 01-25-2009 05:32 PM

background color of just the currently active users area
 
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?

PHP Code:

<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="$numberregistered2="$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?

HTML Code:

        <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 [DATE]1232914676[/DATE] at [TIME]1232914676[/TIME] ---------------

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:

HTML Code:

<div style="white-space: nowrap; color: yellow">


All times are GMT. The time now is 05:10 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01191 seconds
  • Memory Usage 1,731KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete