如何更改jQuery UI MultiSelect Widget的默认文本和颜色?

时间:2016-04-21 21:34:00

标签: jquery jquery-ui multi-select

我正在使用jQuery UI MultiSelect Widget Eric Hynds

如何更改默认的带蓝色文字"选择选项"不同的文字和颜色?谢谢!

1 个答案:

答案 0 :(得分:0)

This one is coming from Jquery UI css

you need to change the below class for whatever the color you need

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default{
color  :black;
}

Note: :This may impact all other places where you have used jquery UI classes.

If you are doing via jquery you can add your custom class and add color.

Hope this helps !!