admin-starter icon indicating copy to clipboard operation
admin-starter copied to clipboard

css priority

Open tulkas85 opened this issue 6 years ago • 1 comments

Hi, I need to set !important in my css to overwrite theme.css rules or others .

I put my css include in template.xhtml below your starter.css include.

It's possible to set css in other places in order to have a better priority, so I can remove !important ?

Here you can see Firefox debugger that shows where is my css rule in the page: cssExample

tulkas85 avatar Jul 01 '19 11:07 tulkas85

Hi, to remove the important you need to create a more specific css rule...it will depend which rule you want to override

rmpestano avatar Jul 02 '19 13:07 rmpestano