cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FF 138 messed up changing Link Colors

DelMibbler
Making moves

The default color for Visited Links is a faint purple. Years ago I changed the color to bright red. That lasted until the latest primary version 138. Now to change it requires going to Settings|General|Contrast Control|Custom, which unfortunately changes the rest of the display. Is there a way to change only the Visited Links color? Maybe by modifying the default? Or downgrading to 137? Mozilla should add an option to change the Link Colors without changing the Text and Background, as was available in earlier versions.

I have userChrome.css to make other modifications. It can change some colors but I haven't found a way to change the Visited Links color. Is there a way?

I have several computers. After I found this result by upgrading Firefox on one of them, I have not upgraded any of the others.

7 REPLIES 7

siffemcon
Familiar face

Try this in userChrome.css:

a:visited {
color: red !important;
}

It is not working everywhere. Many sites like google or chatgpt this is not working. Something is overriding the CSS script in google as I saw a flash red before turning  visited link to purple in dark mode.

siffemcon
Familiar face

Unfortunately, user-generated CSS sometimes can't override site-generated CSS.

Agentvirtuel
Collaborator

Hello

An error in the file name.
It's not userChrome.css, it's userContent.css.

Screen Shot 2025-06-04 at 09.56.18-fullpage.png

DelMibbler
Making moves

Putting siffemcon's command into userContent.css worked for everything I tried except my usual click on DuckDuckGo. I found that DDG has its own command line parameter for that: kaa=ff0000. For more info about its parameters, see:

https://gist.github.com/blackrobot/b34a345f22f7fc63e2a08b456e560def

 

One of my most common errors is specifying userChrome instead of userContent 😕

For future reference, the official DDG parameters list is at https://duckduckgo.com/duckduckgo-help-pages/settings/params.

tate
Making moves

Try this in userChrome.css it will work