
Change hyperlink default colour
Hi,
I have just started using Thunderbird and I'm trying to change the default colour for a hyperlink.
I have tried about:config -> browser.anchor_color and browser.active_color but neither has worked.
I also tried using a user.js file but that didn't work either.
I would have thought this would be a fairly basic thing but it seems to be impossible.
All Replies (5)
Did you try Settings/General/Lang. & Appearance/Fonts & Colours, Colours..., Link Colours?
Hi, thanks for the reply,
I have found Settings -> General -> Language & Appearance and I have unchecked "Always underline links" and changed the font size and colour but none of this has made a difference
I can't find Fonts & Colour -> Colours -> Link Colours
Thanks
You appear to be using TB 139, which lacks the Colours setting in TB 128 (see picture). But you should be able to set the colour of visited links with browser.visited_color or browser.visited_color.dark in Config. editor. For unvisited links, try reader.custom_colors.unvisited-links.
Oddly, the latest Firefox 139 retains the Colours menu.
Modified
Hi,
Thanks for the information.
Yes I'm seeing the options shown in your screenshot.
I have tried changing the colour using the following settings in the config editor but nothing has worked so far. browser.active_color browser.active_color.dark browser.anchor_color browser.anchor_color.dark browser.visited_color browser.visited_color.dark editor.link_color
I'm really struggling to understand why this is such an issue, I would have thought it was a fairly basic function.
I don't know why setting the preferences doesn't work, but there is another method using css:
a:visited { color: red !important; } a:link { color: green !important; }
Help/Troubleshooting Info, Profile Folder, Open Folder, close TB, create a new folder named chrome, create a new document in chrome with a text editor, name it userContent.css, Save as type: All files *.*, copy in the above code, change the colours as desired. Double-click toolkit.legacyUserProfileCustomizations.stylesheets to true in Settings/General/Config. editor, restart TB.
video on how to create a css file (Firefox and TB)
See picture. This works in TB 128 and 139. Some html messages might contain styles that override the css.