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)
-   -   How to change only CSS color in "Users Browsing Forum Section" (https://vborg.vbsupport.ru/showthread.php?t=181638)

Keesa 06-05-2008 11:23 PM

How to change only CSS color in "Users Browsing Forum Section"
 
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
HTML Code:

style="background-color:gold"
to change the links you will have to add a new class (class="newlinkcolor")

HTML Code:

<div>$activeusers</div>
change to

HTML Code:

<div class="newlinkcolor">$activeusers</div>
now in your CSS (main css), add the following (change to suit your needs)
HTML Code:


.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


All times are GMT. The time now is 10:06 PM.

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.01132 seconds
  • Memory Usage 1,713KB
  • 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
  • (4)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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