Trying to get a:visited to change colour no matter how the user got to the page

[ad_1]

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]
1 Comment
  1. 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.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer