By Abraham Tol on Sunday, 13 March 2022
Posted in Technical Issues
Likes 0
Views 382
Votes 0
With the new version i have the hardest time setting my site default colors, perhaps you can point me in the right direction.

1. standard is button background transparent color black
2. hover standard button background is green color white.

Not sure why my overrides do not work.

For subscription (button) see: https://lijstgroennoordenveld.nl/actueel/moties-amendementen.html
For comment (button) see: https://lijstgroennoordenveld.nl/actueel/entry/aangehouden-motie-creatieve-woonvormen-24-november-2021.html
Hey there,

You will need to add 'body' on the code as shown in the screenshot(https://monosnap.com/file/prtRlZ8iCH183fyuJJeAqeeIxoRD3p) to increase specificity to override.

Can you try again and see how it goes?

Do clear all of your caches before you see the changes.
·
Monday, 14 March 2022 11:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Irwin, works fine now. Since when or why is body needed?
·
Monday, 14 March 2022 17:04
·
0 Likes
·
0 Votes
·
0 Comments
·
You're most welcome and you can check out these 2 articles for a better understanding of it.

https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity
https://css-tricks.com/specifics-on-css-specificity/

Just for your information, I have locked and marked this thread as resolved to avoid confusion in the future. Please start a new thread if you have any other issues in the future so it will be easier for us to manage your inquiries.

Thanks for understanding.
·
Tuesday, 15 March 2022 10:25
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post