搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Change color of remote content warning

  • 3 回覆
  • 0 有這個問題
  • 9 次檢視
  • 最近回覆由 lehmeyer.jo

more options

I like to be able to either accept or not accept the remote content for each message, mostly I don't need it, so I don't want to accept it in general.

However, the yellow bar, which I mostly ignore, is quite distracting when browsing through the mails, so I would like to change the color.

I already tried several approaches with the userChrome.css, like linked below, none of them worked for me. I am using the newest version of Thunderbird on Windows 11.

https://support.mozilla.org/en-US/questions/1413372 https://www.reddit.com/r/Thunderbird/comments/xvoy85/how_to_change_the_color_of_the_remote_content/

I like to be able to either accept or not accept the remote content for each message, mostly I don't need it, so I don't want to accept it in general. However, the yellow bar, which I mostly ignore, is quite distracting when browsing through the mails, so I would like to change the color. I already tried several approaches with the userChrome.css, like linked below, none of them worked for me. I am using the newest version of Thunderbird on Windows 11. https://support.mozilla.org/en-US/questions/1413372 https://www.reddit.com/r/Thunderbird/comments/xvoy85/how_to_change_the_color_of_the_remote_content/

被選擇的解決方法

From https://www.elevenforum.com/t/thunderbird-115-css-customization.16320/post-554778

#mail-notification-top .infobar {
  --message-bar-text-color:grey !important;
  --message-bar-background-color: lightblue !important;}

.notificationbox-stack{background-color: Dodgerblue !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 userChrome.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.

Online css generator

video on how to create a css file (Firefox and TB)

See attached picture.

從原來的回覆中察看解決方案 👍 1

所有回覆 (3)

more options

The following CSS works for me:

div.container {
  --message-bar-background-color: #27272a; /* your background color */
  --message-bar-text-color: #c6c6ca; /* your text color */
}


Source of the above CSS: https://www.reddit.com/r/Thunderbird/comments/xvoy85/comment/m60w9g0/

有幫助嗎?

more options

選擇的解決方法

From https://www.elevenforum.com/t/thunderbird-115-css-customization.16320/post-554778

#mail-notification-top .infobar {
  --message-bar-text-color:grey !important;
  --message-bar-background-color: lightblue !important;}

.notificationbox-stack{background-color: Dodgerblue !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 userChrome.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.

Online css generator

video on how to create a css file (Firefox and TB)

See attached picture.

有幫助嗎?

more options

Thanks a lot, this works perfectly!

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題