Is there something I can add to additional.css to change the color of our group colors? For example, we have our Registered Members group set to white for our default style, but on our light styles with white backgrounds, depending on how white they are, it doesn't show up well or not at all.
Group Colors
Collapse
X
-
user group fields accept html. So yes, you can add a class element to each usergroup [User Title] or [Title], example:
HTML Code:<span class="admingc">Administrator</span>
Please feel free to contact me if you have any questions or concerns
Links: vBulletin Manual - Code Documentation - FAQ - Bug Tracker - Lemon Juice
vBulletin 5 Connect: Extensions - Articles - Features - Purchases -
I thought additional.css codes looked more like what you gave me for stuck threads. Also, what would it be for Registered Members?
#stickies .threadbit .alt { background:none #000; }Former vBulletin userComment
-
It *might* be better to simply create a quick plugin that shows certain css elements differently based on usergroup .
Former vBulletin Support Staff
Hacked recently? See my blog post "Recovering a Hacked vBulletin Site".
Thinking outside the box? Need modification support? Visit www.vBulletin.org and have at it!Comment
-
Code:.whateverclassnameyouhave { color:#123; }
Please feel free to contact me if you have any questions or concerns
Links: vBulletin Manual - Code Documentation - FAQ - Bug Tracker - Lemon Juice
vBulletin 5 Connect: Extensions - Articles - Features - Purchases👍 1Comment
-
No. I am building on your words, how exactly Registered Members group set to white? I understand that you have set a color to usergroup title. What I suggest is to replace the color with a class element, then you will be able to add different color to different styles. You can find that by going to Admin CP -> Usergroup -> Usergroup Manager +> [edit group title add span with class]. If you done with this go to additional.css and add your color:
Code:.whateverclassnameyouhave { color:#123; }
Former vBulletin userComment
-
OK now I am sure about it
HTML Code:<span style="color:white;font-weight: ">• Registered Members</span>
search the above code in your 'forumhome' template, remove the 'style' and a 'class' for each group, change the color from additional.cssPlease feel free to contact me if you have any questions or concerns
Links: vBulletin Manual - Code Documentation - FAQ - Bug Tracker - Lemon Juice
vBulletin 5 Connect: Extensions - Articles - Features - PurchasesComment
-
OK now I am sure about it
HTML Code:<span style="color:white;font-weight: ">• Registered Members</span>
search the above code in your 'forumhome' template, remove the 'style' and a 'class' for each group, change the color from additional.cssFormer vBulletin userComment
-
Can I assume that you have it set to white with the Username HTML Markup setting? Or are you talking about something else? (Admin CP -> Usergroups -> Usergroup Manager -> Edit the group)Comment
-
However, on light styles with white backgrounds, like shown below in Dance of the Dream Eater (Light), it cannot be seen or is hard to see (depending on how white the background is).
If I change it to black, however, in the Username HTML Markup option, it will then become hard to see or not visible at all on our dark styles.Former vBulletin userComment
-
Is this the forum you are talking about? http://www.kh-mediaflare.net/forum.php
And are you talking about "What's Going On?" section where all user groups listed there?
Update | I am sorry Matthew will help you with this, I'm going to sleep it's over mid night herePlease feel free to contact me if you have any questions or concerns
Links: vBulletin Manual - Code Documentation - FAQ - Bug Tracker - Lemon Juice
vBulletin 5 Connect: Extensions - Articles - Features - PurchasesComment
-
Change the first box of the Username HTML Markup setting toHTML Code:<span class="registereduser">
HTML Code:.registereduser { color: white; }
Comment
-
Thanks for the assistance. It's always appreciated.Former vBulletin userComment
-
Don't forget to close the tag in second box with
</span>To be or not to be... Where the hell is the question????My psychiatrist told me I was crazy and I said I want a second opinion. He said okay, you're ugly too
Live vBulletin 4.2.0 Multilingual * Alpha/Beta vB 4 - vB 5 Tier 1A
CentOS 6.2 - Apache:2.2.15(Apache2Handler) - PHP:5.3.3 - MySQL:5.1.61
Xampp/Win-XP - Apache v2.2.21(Apache2Handler) - PHP:5.3.8 - MySQL:5.5.16
Comment
-
Comment
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment