Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

css priority #13

Open
tulkas85 opened this issue Jul 1, 2019 · 1 comment
Open

css priority #13

tulkas85 opened this issue Jul 1, 2019 · 1 comment

Comments

@tulkas85
Copy link

tulkas85 commented Jul 1, 2019

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 tulkas85 changed the title css priority problem css priority Jul 1, 2019
@rmpestano
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants