Windows 10 reached EOS (end of support) on October 14, 2025. For more information, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

change the color of a message using userChrome

more options

I’m running Thunderbird 147.0.1 (64-bit) on both my desktop and laptop, both using Windows 11 Version 25H2 (Build 26200.7705). I’m trying to highlight sent (outgoing) messages where the correspondent and recipient are different (i.e., not sending to myself). When this condition is met, I want the subject line to appear green. My logic is: • Match outgoing mail where the correspondent column contains one of my addresses • Exclude rows where the recipient column also contains one of my addresses • Apply formatting only to the subject column tr:has(

   td.correspondentcol-column[title*="@pm.me"],
   td.correspondentcol-column[title*="@protonmail.com"],
   td.correspondentcol-column[title*="@passinbox.com"]

):not(

   :has(td.recipientcol-column[title*="@pm.me"]),
   :has(td.recipientcol-column[title*="@protonmail.com"]),
   :has(td.recipientcol-column[title*="@passinbox.com"])

) td.subjectcol-column {

 color: var(--tb-green) !important;
 font-weight: 600 !important;
 background-color: #e8f5e9 !important;

} Same Thunderbird version, same Windows build, same CSS file, same mail account structure. Is there something on the desktop system that could prevent this from working? For example: • about:config setting related to CSS • Layout or column differences affecting selectors • Rendering engine differences between installations • UI density / table layout mode differences My expectation is that this logic should behave identically on both systems, so I suspect a configuration or UI state difference. Any guidance would be appreciated.

I’m running Thunderbird 147.0.1 (64-bit) on both my desktop and laptop, both using Windows 11 Version 25H2 (Build 26200.7705). I’m trying to highlight sent (outgoing) messages where the correspondent and recipient are different (i.e., not sending to myself). When this condition is met, I want the subject line to appear green. My logic is: • Match outgoing mail where the correspondent column contains one of my addresses • Exclude rows where the recipient column also contains one of my addresses • Apply formatting only to the subject column tr:has( td.correspondentcol-column[title*="@pm.me"], td.correspondentcol-column[title*="@protonmail.com"], td.correspondentcol-column[title*="@passinbox.com"] ):not( :has(td.recipientcol-column[title*="@pm.me"]), :has(td.recipientcol-column[title*="@protonmail.com"]), :has(td.recipientcol-column[title*="@passinbox.com"]) ) td.subjectcol-column { color: var(--tb-green) !important; font-weight: 600 !important; background-color: #e8f5e9 !important; } Same Thunderbird version, same Windows build, same CSS file, same mail account structure. Is there something on the desktop system that could prevent this from working? For example: • about:config setting related to CSS • Layout or column differences affecting selectors • Rendering engine differences between installations • UI density / table layout mode differences My expectation is that this logic should behave identically on both systems, so I suspect a configuration or UI state difference. Any guidance would be appreciated.

All Replies (1)

more options

it is working very well on the laptop

Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.