This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

Hierdie gesprek is in die argief. Vra asseblief 'n nuwe vraag as jy hulp nodig het.

userChrome.css has no effect

  • 4 antwoorde
  • 1 het hierdie probleem
  • 3 views
  • Laaste antwoord deur mbrowne83

more options

Hello,

Ultimately, I want to change the font for unread email in my in-basket, same as [thread]. Nothing I do in userChrome.css seems to have any effect. I'm running Windows 10. %AppData% = "C:\Users\Ron.000\AppData\Roaming".

Accordingly, I've placed userChrome.css here: C:\Users\Ron.000\AppData\Roaming\Thunderbird\Profiles\xdl9kae3.default\chrome


I have toggled toolkit.legacyUserProfileCustomizations.stylesheets to true

Current content of the file is below. Thunderbird v68.11.0: /*

* Do not remove the @namespace line -- it's required for correct functioning
*/

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

/* Threads Pane font */ .tree-rows {

   font-size: 48pt !important;
   font-family: Verdana !important;
   color: #000062 !important;

}

Hello, Ultimately, I want to change the font for unread email in my in-basket, same as [[https://support.mozilla.org/en-US/questions/1261363|this thread]]. Nothing I do in userChrome.css seems to have any effect. I'm running Windows 10. %AppData% = "C:\Users\Ron.000\AppData\Roaming". Accordingly, I've placed userChrome.css here: C:\Users\Ron.000\AppData\Roaming\Thunderbird\Profiles\xdl9kae3.default\chrome I have toggled toolkit.legacyUserProfileCustomizations.stylesheets to true Current content of the file is below. Thunderbird v68.11.0: <code> /* * Do not remove the @namespace line -- it's required for correct functioning */ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */ /* Threads Pane font */ .tree-rows { font-size: 48pt !important; font-family: Verdana !important; color: #000062 !important; } </code>

Gekose oplossing

Turns out I was using the wrong profile directory. Apparently the active one is named <hex number>.default-release. I had tried this directory before, but under AppData/Local :-}

With that sorted, code above works.

Thanks

Lees dié antwoord in konteks 👍 0

All Replies (4)

more options

Not sure what happened to that link: https://support.mozilla.org/en-US/questions/1261363

more options

This code is working in TB 78:

#threadTree treechildren::-moz-tree-cell-text(unread) {
-moz-appearance: none !important;
color: #2492d1 !important;
font-weight: bold !important;
font-family: Verdana !important;
font-size: 18pt !important;
}

If you choose a large size like 18 or 48pt, you might want to add a height declaration:

#threadTree treechildren::-moz-tree-row {
height: 25pt !important;
}

Make sure your userChrome.css file type is Cascading Style Sheet.

more options

Gekose oplossing

Turns out I was using the wrong profile directory. Apparently the active one is named <hex number>.default-release. I had tried this directory before, but under AppData/Local :-}

With that sorted, code above works.

Thanks

more options

Important note: If you are using a more recent version of Thunderbird (I'm on Thunderbird 78 currently) and you've never created a userChrome.css file for your profile before, you'll need to enable the `toolkit.legacyUserProfileCustomizations.stylesheets` setting in Config Editor.

See this page for how to access Config Editor from Thunderbird Preferences: https://support.mozilla.org/en-US/kb/config-editor