Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Søg i 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?

Alle svar (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.

Nyttig?

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.

Nyttig?

Stil et spørgsmål

Du skal logge ind på din konto for at svare på et indlæg. Start et nyt spørgsmål, hvis du ikke har en konto endnu.