also... you might not need '!important' on ObWi's WP theme.
simply adding the style:
a:visited {color:red;}
in the Firefox debugger was enough to change the visited link colors here.
it wasn't enough on my WP site; but we're using different WP themes and so i probably have something in my CSS taking priority. i needed !important to make it work.
12 hours ago
the CSS it recommends uses both pseudo elements and the !important modifier.
it recommends altering the 'visited' pseudo-class (one colon, not two as with a pseudo-element)
also... you might not need '!important' on ObWi's WP theme.
simply adding the style:
a:visited {color:red;}
in the Firefox debugger was enough to change the visited link colors here.
it wasn't enough on my WP site; but we're using different WP themes and so i probably have something in my CSS taking priority. i needed !important to make it work.
the CSS it recommends uses both pseudo elements and the !important modifier.
it recommends altering the 'visited' pseudo-class (one colon, not two as with a pseudo-element)
a:visited {color: purple !important; text-decoration: underline !important;}I oppose both of those on general principle because they exist outside the JavaScript document model so cannot be modified by the user.
"make it easy for the user to modify the DOM" is a requirement that no front-end developer will ever encounter.
it's pretty simple to add color to visited links in wordpress:
https://wordpress.org/support/topic/altering-link-appearance-throughout-the-site/