Pane and menu fonts

From MozillaZine Knowledge Base
Jump to navigationJump to search

You can change the font, font size, and other attributes of fonts used in the folder pane, message-list pane, menus, and elsewhere in the user interface. To do so, add the relevant code shown below into your userChrome.css file, making adjustments as desired to suit your own font preferences.

Global UI font

Use the following to change the font everywhere in the user interface—folder pane, message-list pane, menus, dialogs, toolbar buttons, etc.

/* Global UI font */
* { font-size: 10pt !important;
  font-family: Verdana !important; 
} 

Note that other code in your userChrome.css file may override the above.

Fonts for specific UI elements

Instead of changing the font globally, throughout the user interface, you can change it for only specific elements. Below are examples.

Folder pane

/* Folder pane font */
#folderTree > treechildren::-moz-tree-cell-text {
  font-size: 10pt !important;
  font-family: Arial !important;
}

Menus

Use the following to change the font for all menus.

/* Menu font */
menu, menulist, menuitem { 
  font-family: Times New Roman !important; 
  font-size: 12pt !important;
}

Further adjustments

There are innumerable ways you can fine-tune the fonts used in various parts of Thunderbird. For example, you can have separate font settings for the message-list pane and the folder pane, or add colors and background colors to specific elements. See these forum threads for a few examples: [1] [2] [3] [4].