We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Custom color for label on avatar [Answered] | Forum

Kali
Kali Apr 7 '14
Hi, I would like to know if you can point me to the file where I can change, or maybe even add, a custom color for the label on the avatar? I need a bright yellow and it isn't there :)
The Forum post is edited by Alia Apr 10 '14
Alia Team
Alia Apr 9 '14
ow_system_plugins/admin/components/authorization_role_edit.php :

$colors = array(
            '#999999', '#85db18', '#a7c520', '#046390', '#db4105', '#ff9800', '#01a2a6', 
            '#29d9c2', '#dc3522', '#1a9481', '#003d5c', '#046380', '#f23005', '#8b0f03', 
            '#2f6d7a', '#70a99a', '#b6d051', '#b52841', '#ff8939', '#e85f4d', '#590051', 
            '#303133', '#585956', '#99917c', '#ccc794', '#e66a00'

Just replace one of the color codes by yours and save changes.
Once this is done, your color should appear instead of default one, when you will be selecting label color for certain user role in admin panel.
Kali
Kali Apr 9 '14
Thank you so much :)
Alia Team
Alia Apr 10 '14
You are welcome =)_

Marking this topic as [Answered]