Site logo

Archived topic

Visited Link Color Can't Be Changed?

7 replies · Started by Thomas on August 1, 2022

Viewing posts 1–8 of 8

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?

Example: https://share.getcloudapp.com/4gurpG2Q

Hello Fernando, yes that color has been set to what I wish the hex color to be. Thanks for speedy reply

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!

This archived topic is closed to new replies.