My theme is GeneratePress. I have a page where I want visited links to show in red. I added custom css and it works fine if the user clicks on the link on that page. But if they’ve gone to the target some other way and then ended up on the link page it still shows the unvisited colour.
I’ve started poking around with google to find a solution and came across the idea that a:visited options have been nerfed for privacy reasons. Am I trying to do something that just won’t happen? Or perhaps links never behaved the way I want and I’m crazy.
What I want to be able to do is show which pages have been visited without requiring users to make an account and sign in.
If anyone can steer me in a better direction I’d appreciate it.
[ad_2]
Sounds like a caching issue, or possibly a CSS specificity issue. Share your URL for more help.
:visited works on any link, on any page, and any website.