How to override default styles in GWT without using !important

serdiuk

New Member
The GWT module comes with some annoying quirks, one of which is departing from the the standard font-size of \[code\]16px\[/code\] and declaring it to be \[code\]12px\[/code\] instead. I tried to declare individual font-size for different elements, for the body itself, but they were always overridden by the default style.So I decided to use \[code\]!important\[/code\] to declare the default font-size for the entire body. This works, problem is that it also applies to where it shouldn't, like \[code\]h2\[/code\] elements. Declaring another font-size property for \[code\]h2\[/code\] with another \[code\]!important\[/code\] again doesn't override the one declared for the \[code\]body\[/code\] element, even though it should.So is there any way to do this? Same problem goes for the font family also, i can't override it without using \[code\]!important\[/code\].
 
Back
Top