userChrome.css file

User Help for Mozilla Thunderbird
Post Reply
n88yanks
Posts: 2
Joined: July 26th, 2021, 4:37 am

userChrome.css file

Post by n88yanks »

Hi. I've been trying (unsuccessfully) to increase the font size on the main display (the folder and the email list display) and I simply cannot get it to work. I have created the css file and placed it in a directory called chrome in my profile folder but when I restart TB there is no change. I would appreciate any help anyone could give me - thank you. My current userChrome.css file reads as follows:

/* Frank edited file - you are good to go...*/

/*
* Do not remove the @namespace line -- it's required for correct functioning
*/
@namespace url("http://www.mozilla.org/keymaster/gateke ... s.only.xul"); /* set default namespace to XUL */

/* * Make all the default font sizes 20 pt: */
*
* * {
* font-size: 20pt !important
* }

BTW - If any developers are reading this - I would highly recommend that this be added to the options. This was the reason I dropped TBird a couple of years ago. Too small to read.

Thank you!
Jim
morat
Posts: 6432
Joined: February 3rd, 2009, 6:29 pm

Re: userChrome.css file

Post by morat »

Troubleshoot userChrome.css
http://forums.mozillazine.org/viewtopic ... #p14887480

Try something like:

Code: Select all

/* Thunderbird userChrome.css */

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

#folderTree treechildren::-moz-tree-cell-text {
  font-size: 13px !important;
  color: red !important;      /* test */
}
#threadTree treechildren::-moz-tree-cell-text {
  font-size: 14px !important;
  color: orange !important;   /* test */
}
#folderTree treechildren::-moz-tree-row {
  height: 20px !important;
}
#threadTree treechildren::-moz-tree-row {
  height: 25px !important;
}
http://kb.mozillazine.org/UserChrome.css

Remember to set the toolkit.legacyUserProfileCustomizations.stylesheets preference to true, then restart.

Similar thread: http://forums.mozillazine.org/viewtopic ... #p14878023
n88yanks
Posts: 2
Joined: July 26th, 2021, 4:37 am

Re: userChrome.css file

Post by n88yanks »

Wonderful! Worked like a charm. Thank you so much!
Post Reply