Hi @marywt!
I’d be glad to help you, but can you please provide the link to your site?
Thread Starter
marywt
(@marywt)
At the moment it is not fully active as it will eventually replace another site.
It is sandbox.historic-sidmouth.uk
@marywt,
I’m afraid I am not able to access your site.
Thread Starter
marywt
(@marywt)
I have set up a user to allow you to see it, but not do more. Obviously putting details out in a public forum is not sensible so please let me know when you have used it and I can remove the user.
The temporary user is Test and the password is test.
If you need more access than that them we need to private message somehow.
Hi @marywt,
I saw what I needed. You can remove the user now. I’ll be back as soon as possible with the solution.
Have a nice day!
@marywt,
I looked into this problem and I’m afraid that you are not going to be able to do that.
When the :visited selector is combined with getComputedStyle() in JavaScript it means that someone can walk through your history and figure out where you’ve been.
As a result, most browsers restrict what styling can be changed on :visited links, and what styling information can be reported with the getComputedStyle method.
These are the properties that can be changed with :visited:
color
background-color
border-color (and its sub-properties)
outline-color
The color parts of the fill and stroke properties
You can only use :visited to change those properties if the link already has them in the “unvisited” or :link state. You can’t use it to add properties that aren’t already present on the link. For example:
You can change the background-color of a :visited link if the link element already had a background color.
You can’t add a background-color to a :visited link if it did not have a background color when it was an “unvisited” link.
I hope it all makes sense now.
Have a great day!