The browser prioritizes poal.css over the custom subverse CSS, so the !important flag of poal.css is heavier than the subverse's custom CSS. I don't see the purpose of it anyway.
That's incorrect. Sub's custom CSS overrides poal.css.
You didn't use the right syntax.
Use that instead and change the color value to your liking:
body .post .title:visited {
color: #7f7 !important;
}
body.dark .post .title:visited {
color: #7f7 !important;
}
I wonder if you could point me in the direction of simple to understand css information. I’m mildly interested.and i’d like to atleast have a basic understanding.
Hey! You don't need to mention/tag someone's name you are replying to.
We've got a sub for CSS related stuff and you can ask away for help there.
You can get started with https://www.w3schools.com/css/css_intro.asp (contains tons of examples you can play with and modify to see how they work)
Hehe I know I didn’t need to ping in reply lol for some reason it makes me giggle. Presumably you get a mention and a reply ping lol.
Anyway thanks for css info !!!
Ah, it works. Thanks.
I used:
.post .title:visited {
color: #7F7 !important;
}
Apparently, I need to refer to body and body.dark separately.
Cheers!
Nevertheless, I still recommend getting rid of the !important flags in the main.css and poal.css files.
Here's why: https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity#The_!important_exception
(post is archived)