Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the wpForo community!

Merry Christmas and Happy Holidays! πŸŽ„

New Feature [Closed] Role color

8 Posts
3 Users
1 Reactions
1,433 Views
Posts: 9
 Monk
Topic starter
(@monk)
Active Member
Joined: 4 years ago

I use widget you provide to see all online members, but i want to make colors for admins, moderators...etc just like it is everywere on forum. Because now everyone has the same color.


7 Replies
Chris
Posts: 3610
(@chris)
Famed Member
Joined: 4 years ago

Hi @monk,

wpForo doesn't have that function yet, but We will add it to our to-do list, so it will be included in 2.0 version of wpForo.


Tutrix
Posts: 1521
(@tutrix)
Noble Member
Joined: 6 years ago

@monk

you can change the colors with CSS via the profile link

Example for the online widget

#wpforo #wpf-widget-online-users .wpforo-widget-content a.onlineuser[href="https://wpforo.com/community/profile/monk/"] {
    color: #ff0000 !important;
}

5 Replies
 Monk
(@monk)
Joined: 4 years ago

Active Member
Posts: 9

@tutrix any way to change for specific role?


Tutrix
(@tutrix)
Joined: 6 years ago

Noble Member
Posts: 1521
Posted by: @monk

@tutrix any way to change for specific role?

this works regardless of the user role, just use the color code you want to be displayed


 Monk
(@monk)
Joined: 4 years ago

Active Member
Posts: 9

@tutrix ok lets go again. You didnt understand me. I want every online admin to have red color name. Im using widget "wpforo online members" but all names are the same color. I dont want only my name to be red color, i want every admin to be red. That specific widget is not getting color from wpforo, it has no colors.


Tutrix
(@tutrix)
Joined: 6 years ago

Noble Member
Posts: 1521

@monkΒ 

the admin also has a profile
then only use red for the admin profile

example you have 3 admins, Monk, Stottlemeyer and Fleming

the CSS code should look like this

#wpforo #wpf-widget-online-users .wpforo-widget-content a.onlineuser[href="https://yoursite.com/community/profile/monk/"],
#wpforo #wpf-widget-online-users .wpforo-widget-content a.onlineuser[href="https://yoursite.com/community/profile/stottlemeyer/"],
#wpforo #wpf-widget-online-users .wpforo-widget-content a.onlineuser[href="https://yoursite.com/community/profile/fleming/"] {
color: #ff0000 !important;
}

Β 


 Monk
(@monk)
Joined: 4 years ago

Active Member
Posts: 9

FIXED:

Online Users Widget – Page 2 – How-to and Troubleshooting – wpForo Support Forum

this helped me a lot, thank you for your help anyways πŸ™‚