
How to change colour of font for unread mail in Thread pane?
Would you like all unread incoming emails to stand out better and use a different coloured font ? If using 'threaded' view, would you like a collapsed thread to indicate it has unread mail by displaying Bold and White (if using Dark mode)?
Read the information below to help you use 'userChrome.css' and tailor make your own Thunderbird.
Izbrana rešitev
As in all my useful question & answers, I provide full instructions, so if you have already created a 'chrome' folder and 'userChrome.css' file then you may only need to copy the code.
This is the code I used. You can modify the colours to be whatever you desire. You may find this link useful for colour selection: https://www.w3schools.com/colors/colors_mixer.asp
First - Please check in Thunderbird to see if a setting needs switching on.
- Settings > General
- Scroll to bottom and click on 'Config Editor' button
- In search type : legacy
- look for this line: toolkit.legacyUserProfileCustomizations.stylesheets
- If it is set as 'false' :
- click on the far right arrow type icon to toggle from 'false' to say 'TRUE'
Now Do this: In Thunderbird
- Help > Troubleshooting Information
- in 'Application Basics' - Profile Folders - click on 'Open Folder' (Windows OS)
A new window opens showing the contents of your 'profile name' folder.
- Exit Thunderbird now. This is important.
I'm going to give the full instructions because I do not know if people already know how to create and use a userChrome.css file.
- In the 'profile name' folder create a new folder and call it 'chrome'. The spelling is important - note it is all lower case.
- Then open a simple text editor program such as 'Notepad'.
- Copy all the text between the lines below and paste it into 'Notepad'.
@import url("chrome://messenger/content/unifiedtoolbar/unifiedToolbarWebextensions.css"); @namespace html url("http://www.w3.org/1999/xhtml"); /* color of unread in thread pane*/ #threadTree tbody [data-properties~="unread"] { color: #2492d1 !important; } /*In threads view - collapsed thread - top level needs to be bold if thread contains unread mail.*/ #threadTree tbody .children.collapsed[data-properties~="hasUnread"] :where(td, .subject-line) { text-decoration: none !important; font-weight: bold !important; color: var(--thread-pane-unread-color) !important; }
- Save the file as 'userChrome.css' - note the spelling of this is important - all lower case except the C.
- Save it in the 'chrome' folder. - see attached image as guide.
Check that file really is called 'userChrome.css' and not 'userChrome.css.txt' - it has to be saved as a Cascading Style Sheet (css) and not a text document. So if you see 'userChrome.css.txt' - no problem - just rename it by removing the .txt - you will get ask are you sure as it may effect things - just say yes because you really do want to do it.
Start Thunderbird
Preberite ta odgovor v kontekstu 👍 0Vsi odgovori (2)
Izbrana rešitev
As in all my useful question & answers, I provide full instructions, so if you have already created a 'chrome' folder and 'userChrome.css' file then you may only need to copy the code.
This is the code I used. You can modify the colours to be whatever you desire. You may find this link useful for colour selection: https://www.w3schools.com/colors/colors_mixer.asp
First - Please check in Thunderbird to see if a setting needs switching on.
- Settings > General
- Scroll to bottom and click on 'Config Editor' button
- In search type : legacy
- look for this line: toolkit.legacyUserProfileCustomizations.stylesheets
- If it is set as 'false' :
- click on the far right arrow type icon to toggle from 'false' to say 'TRUE'
Now Do this: In Thunderbird
- Help > Troubleshooting Information
- in 'Application Basics' - Profile Folders - click on 'Open Folder' (Windows OS)
A new window opens showing the contents of your 'profile name' folder.
- Exit Thunderbird now. This is important.
I'm going to give the full instructions because I do not know if people already know how to create and use a userChrome.css file.
- In the 'profile name' folder create a new folder and call it 'chrome'. The spelling is important - note it is all lower case.
- Then open a simple text editor program such as 'Notepad'.
- Copy all the text between the lines below and paste it into 'Notepad'.
@import url("chrome://messenger/content/unifiedtoolbar/unifiedToolbarWebextensions.css"); @namespace html url("http://www.w3.org/1999/xhtml"); /* color of unread in thread pane*/ #threadTree tbody [data-properties~="unread"] { color: #2492d1 !important; } /*In threads view - collapsed thread - top level needs to be bold if thread contains unread mail.*/ #threadTree tbody .children.collapsed[data-properties~="hasUnread"] :where(td, .subject-line) { text-decoration: none !important; font-weight: bold !important; color: var(--thread-pane-unread-color) !important; }
- Save the file as 'userChrome.css' - note the spelling of this is important - all lower case except the C.
- Save it in the 'chrome' folder. - see attached image as guide.
Check that file really is called 'userChrome.css' and not 'userChrome.css.txt' - it has to be saved as a Cascading Style Sheet (css) and not a text document. So if you see 'userChrome.css.txt' - no problem - just rename it by removing the .txt - you will get ask are you sure as it may effect things - just say yes because you really do want to do it.
Start Thunderbird
If you want to see other 'userChrome.css' fixes - it says version 115* but code still applies. How to move the 'Menu Bar' above the 'Unified toolbar':