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)
-   -   Changing Usergroup colors with skin? (https://vborg.vbsupport.ru/showthread.php?t=214856)

mme42 05-29-2009 06:00 PM

Changing Usergroup colors with skin?
 
Is there a way to have different usergroup colors for each skin/theme? Here is the problem. We have quite a few different groups and to make sure that all the groups are distinguishable from each other, we've ended up using black for a usergroup. Our themes have light backgrounds, so everything works fine at the moment. But, I'd like to make a new theme with a dark/black background, and that would make the black colored usergroup unable to be seen.

So, I thought that if I could make it so the black usergroup switches to white or light gray when the dark theme is used, it would make things a lot easier. I guess I could also make sure there is a colored background everywhere that usernames display so that there is enough contrast between text and backgrouind. Or I could go back to the drawing board and try to find new colors for all groups so that nobody is using white or black. I'm just looking for other options.

Is there a way to do this? If not, how do you deal with usergroup colors when using light vs. dark themes at the same time? I'm new to making themes, so I'm sure I'm missing something.

Thanks :D

Lynne 05-29-2009 07:48 PM

Usergroup Manager > select usergroup > HTML Markup > use a span tag and apply a class - ie. <span class="usergroup1">

Style Manager > Main CSS > bottom box > define the class .usergroup1

If you have problems with this, post *exactly* what you have done.

Sofia 05-29-2009 08:11 PM

Quote:

Originally Posted by Lynne (Post 1819780)
Usergroup Manager > select usergroup > HTML Markup > use a span tag and apply a class - ie. <span class="usergroup1">

Style Manager > Main CSS > bottom box > define the class .usergroup1


If you have problems with this, post *exactly* what you have done.

And class must like this:

HTML Code:

.usergroup1
{
color: #000000
}


;)

mme42 05-29-2009 09:14 PM

Ahh thanks. :D I haven't tried it yet, but I get what you're saying. I knew I was forgetting/missing something :p


All times are GMT. The time now is 04:16 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.00937 seconds
  • Memory Usage 1,719KB
  • 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
  • (1)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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