ابحث في الدعم

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

Calendar: How do I change the color of the CURRENT highlight on a thunderbird calendar?

  • 6 ردود
  • 1 has this problem
  • 2 views
  • آخر ردّ كتبه GBossley

more options

It's not on settings. I found this css code but don't know how one installs css for thunderbird. I got as far as opening the config editor on the calendar options. But I don't see what entry it is.

Alternatively if I can change the weekend colors that would work well. They are nearly the same yellow as the CURRENT color.

https://support.mozilla.org/en-US/questions/1304213

Thanks!

It's not on settings. I found this css code but don't know how one installs css for thunderbird. I got as far as opening the config editor on the calendar options. But I don't see what entry it is. Alternatively if I can change the weekend colors that would work well. They are nearly the same yellow as the CURRENT color. https://support.mozilla.org/en-US/questions/1304213 Thanks!

الحل المُختار

One of the statements you refer to does go in config. Do that. For the others, you need to go to your profile and create a folder called 'chrome' (lower case). In that folder, create a simple text file called userChrome.css (case sensitive). In that folder, store the CSS statements from the link you referenced. This takes effect the next time you start Thunderbird.

Read this answer in context 👍 1

All Replies (6)

more options

الحل المُختار

One of the statements you refer to does go in config. Do that. For the others, you need to go to your profile and create a folder called 'chrome' (lower case). In that folder, create a simple text file called userChrome.css (case sensitive). In that folder, store the CSS statements from the link you referenced. This takes effect the next time you start Thunderbird.

more options

Update: also include this statement at top of the userChrome.css file:

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

more options

What's the namespace url for? It's working without.

Thanks! That was easy enough! Much better that everything isn't in the nearly same pale yellows and blues.

Now I'll know how to add css the next time I want to, as well.

more options

That comment used to be required. If you're pleased, I ask you to mark this solved, so it will be removed from the list of open issues. Thank you.

more options

I don't think you can comment once it's solved, so I left it open for a reply. Thanks! I put it in comments in the file in case it turns out I need it, later.

THANK YOU! This has been frustrating me for a while!

Modified by curls3

more options

I followed all the advice I could find, tested and proved my userChrome.css file was functioning, but the script suggested no longer appears to resolve this for me (since a laptop rebuilld). (I used the script below and set and set my toolkit.legacyUserProfileCustomizations.stylesheets preference to "True".)

.calendar-month-day-box-current-month[selected="true"] {

 background-color: orange !important;

}

.calendar-month-day-box-current-month[relation="today"] {

 background-color: red !important;

}