Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Overriding css styles

I have a widget with css that defines the fill for the widget.

In my style.css I want to override that color.

I'm trying fill: #ffffff !important; 

Its not working...

Anyone know how to do this?

Best Answer
0 Votes
2 REPLIES 2

!important isn't supported.

Make sure your selector's specificity is high enough.

Peter McLennan
Gondwana Software
Best Answer
0 Votes

Thanks Gondwana, 

Based on on your suggestion...

I think I'm going to wrap my element in my component in a svg and put the style at the parent svg.  Then my app css can target the child element of the svg directly.

 

 

Best Answer