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

userChrome not working

more options

I would like to customize styling for recurring events in Calendar (115.11.1 on MacOS) without using extensions/add-ons. I enabled userChrome.css (`toolkit.legacyUserProfileCustomizations.stylesheets`) and the “has:” selector (`layout.css.has-selector.enabled`). In my userChrome.css, I added styles:

   li:has([alt*="Recurring"]) { background-color:grey !important; padding:1rem !important; }
   li:has(*[alt*="Recurring"]) { background-color:yellow !important; padding:1rem !important; }

Unfortunately, this seems to have no effect upon restarting Thunderbird. However, when I open Developer Toolbox (`Tools > Developer Toolbox > Developer Toolbox > Inspector` tab) suddenly everything works and the stylesheets are applied, but only until Thunderbird is shut down. Weirdly, other custom styles in userChrome.css work ok.

Is this intended behavior or a bug?

I would like to customize styling for recurring events in Calendar (115.11.1 on MacOS) without using extensions/add-ons. I enabled userChrome.css (`toolkit.legacyUserProfileCustomizations.stylesheets`) and the “has:” selector (`layout.css.has-selector.enabled`). In my userChrome.css, I added styles: li:has([alt*="Recurring"]) { background-color:grey !important; padding:1rem !important; } li:has(*[alt*="Recurring"]) { background-color:yellow !important; padding:1rem !important; } Unfortunately, this seems to have no effect upon restarting Thunderbird. However, when I open Developer Toolbox (`Tools > Developer Toolbox > Developer Toolbox > Inspector` tab) suddenly everything works and the stylesheets are applied, but only until Thunderbird is shut down. Weirdly, other custom styles in userChrome.css work ok. Is this intended behavior or a bug?

All Replies (2)

more options

I cannot advise on the proper CSS to resolve your issue, but I can advise you that this is not a bug. I say that because use of userChrome.css is not officially supported.

Helpful?

more options

Thank you for your reply. I do realize that user styling via userChrome is not officialy supported. However, I sucessfully tested the CSS style in Firefox by copying the relevant elements form TB inspector. What is more, my experience with Thunderbird is that userChrome works great in Supernova. What I am trying to understand is the behaviour of some aspects of the style not being applied straight away.

Helpful?

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.