Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

change optgroup color in backend


Go to End


1050 Views

Avatar
dataforlife

Community Member, 10 Posts

17 June 2014 at 12:35am

Hallo,

does anybody know how i can change the color of the <optgroup ...> or maybe other css things to make it look much different from the <option ..> tags in GroupedDropdownField?
i have tried to change the color by updating the framework/admin/css/screen.css with:

select optgroup {color:#f00 !important}

but it didnt work :(

Thank you!