-
I tried use jQuery .css() function, doesn't work. also set the class itself or add extra class, none works .fa-wrench { .blackcolor { .w2ui-tb-icon{ |
Beta Was this translation helpful? Give feedback.
Answered by
mpf82
Dec 13, 2021
Replies: 1 comment 1 reply
-
Since the icons already have a color set by the w2ui css, you must either define a very specific selector or use Example:
Fiddle: |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jianyunli
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
item.style
is only applied to the caption: https://w2ui.com/web/docs/2.0/w2toolbar.item_templateSince the icons already have a color set by the w2ui css, you must either define a very specific selector or use
!important
Example:
Fiddle:
http://jsfiddle.net/2pnudbwy/