Archived topic
Visited Link Color Can't Be Changed?
7 replies · Started by Thomas on August 1, 2022
Hello,
I'm currently unable to alter my website's visited link color. There is no visited link color option under the color category either. It is defaulting to white but I wish to change it to a specific hex code. I've added the following custom CSS to Additional CSS to no avail:
a:visited {
color: #B800FF;
}
Hi Thomas,
To clarify, have you tried to modify the 3rd column color for the Navigation text within the Primary Navigation section in Customize > Colors?
Hello Fernando, yes that color has been set to what I wish the hex color to be. Thanks for speedy reply
Oh, are you referring to these links?: https://share.getcloudapp.com/BluG6PWq
I am referring to the whited out link in this picture below:
I see. You can try this CSS:
.wp-block-button__link:visited{
color: #B800FF;
}
Or this to have the color change only for that section:
.gb-container.gb-container-78e9701b .wp-block-button__link:visited{
color: #B800FF;
}
I went with the top code, worked like a charm I do believe. Thank you very much!
You’re welcome Thomas!