How to change font for preview pane in userChrome.css (!)
-
- Posts: 317
- Joined: June 7th, 2003, 12:45 am
How to change font for preview pane in userChrome.css (!)
As you know the font family, size and line-height can only partially changed through Thunderbird GUI.
A better, more advanced way of customize the font for variosu parts of TB GUI is through the userChrome.css file in profile folder.
I specified e.g. so far:
* { font-size: 12px !important;
line-height: 13px !important;
font-family: Verdana !important;
}
/* */
#threadTree treechildren::-moz-tree-row
{ font-size: 13px !important; line-height: 13px !important; height: 13px !important; min-height: 13px !important; font-family: Verdana !important;}
#folderTree treechildren::-moz-tree-row
{ font-size: 13px !important; line-height: 13px !important; height: 13px !important; min-height: 13px !important; }
#abResultsTree treechildren::-moz-tree-row
{ font-size: 13px !important; line-height: 13px !important; height: 13px !important; min-height: 13px !important; }
#dirTree treechild3en::-moz-tree-row
{ font-size: 13px !important; line-height: 13px !important; height: 13px !important; min-height: 13px !important; }
Unfortunately this does NOT change the font, font-size, line-height and font-family for the preview pane in the lower right corner of Thunderbird which shows the content body of currently selected message.
So how do I adjust the font-size and font-family for this part of the TB GUI in userChrome.css?
Moreover: What are CSS tags in userChrome.css for the header parts just above the preview pane?
Thank you
Thomas
A better, more advanced way of customize the font for variosu parts of TB GUI is through the userChrome.css file in profile folder.
I specified e.g. so far:
* { font-size: 12px !important;
line-height: 13px !important;
font-family: Verdana !important;
}
/* */
#threadTree treechildren::-moz-tree-row
{ font-size: 13px !important; line-height: 13px !important; height: 13px !important; min-height: 13px !important; font-family: Verdana !important;}
#folderTree treechildren::-moz-tree-row
{ font-size: 13px !important; line-height: 13px !important; height: 13px !important; min-height: 13px !important; }
#abResultsTree treechildren::-moz-tree-row
{ font-size: 13px !important; line-height: 13px !important; height: 13px !important; min-height: 13px !important; }
#dirTree treechild3en::-moz-tree-row
{ font-size: 13px !important; line-height: 13px !important; height: 13px !important; min-height: 13px !important; }
Unfortunately this does NOT change the font, font-size, line-height and font-family for the preview pane in the lower right corner of Thunderbird which shows the content body of currently selected message.
So how do I adjust the font-size and font-family for this part of the TB GUI in userChrome.css?
Moreover: What are CSS tags in userChrome.css for the header parts just above the preview pane?
Thank you
Thomas
- smsmith
- Moderator
- Posts: 19979
- Joined: December 7th, 2004, 8:51 pm
- Location: Indiana
Re: How to change font for preview pane in userChrome.css (!
Take a look at Tools -> Options -> Display, Formatting. Of special significance is the checkbox in the Advanced preferences of the Fonts & Colors section labelled "Allow messages to use other fonts".
Give a man a fish, and he eats for a day. Teach a man to fish, and he eats for a lifetime.
I like poetry, long walks on the beach and poking dead things with a stick.
Please do not PM me for personal support. Keep posts here in the Forums instead and we all learn.
I like poetry, long walks on the beach and poking dead things with a stick.
Please do not PM me for personal support. Keep posts here in the Forums instead and we all learn.
- tanstaafl
- Moderator
- Posts: 49647
- Joined: July 30th, 2003, 5:06 pm
-
- Posts: 317
- Joined: June 7th, 2003, 12:45 am
Re: How to change font for preview pane in userChrome.css (!
Thank you for suggestions
@smsmith: Whats exactly is meant by "other" in the options dialog?
- Other than the font specified just above this checkbos in the dialog
or
- Other than the font specified in userChrome.css
?
@tanstaafl:
Yes, I aleardy know this page. But on this webpages nothing is written about the message preview pane. Only about all other parts
So where do I get the CSS tags for the messages preview pane?
@smsmith: Whats exactly is meant by "other" in the options dialog?
- Other than the font specified just above this checkbos in the dialog
or
- Other than the font specified in userChrome.css
?
@tanstaafl:
Yes, I aleardy know this page. But on this webpages nothing is written about the message preview pane. Only about all other parts
So where do I get the CSS tags for the messages preview pane?
- smsmith
- Moderator
- Posts: 19979
- Joined: December 7th, 2004, 8:51 pm
- Location: Indiana
Re: How to change font for preview pane in userChrome.css (!
"Other" in this instance means a font that is specified by the email sender. So if that checkbox is enabled and the sender specifically used a font in the email, that font would show when you read it, even if you had chosen a different font for viewing mail in your Thunderbird settings.
Give a man a fish, and he eats for a day. Teach a man to fish, and he eats for a lifetime.
I like poetry, long walks on the beach and poking dead things with a stick.
Please do not PM me for personal support. Keep posts here in the Forums instead and we all learn.
I like poetry, long walks on the beach and poking dead things with a stick.
Please do not PM me for personal support. Keep posts here in the Forums instead and we all learn.
-
- Posts: 6405
- Joined: February 3rd, 2009, 6:29 pm
Re: How to change font for preview pane in userChrome.css (!
Try this:thoste wrote:change ... font-size ... for the preview pane in the lower right corner
Code: Select all
/* Thunderbird userContent.css */
* { font-size: 28px !important; }
Similar thread: http://forums.mozillazine.org/viewtopic ... &t=3026801
Try this:thoste wrote:header parts just above the preview pane
Code: Select all
/* Thunderbird userChrome.css */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
#expandedHeaderView {
background-color: gainsboro !important;
font-size: 28px !important;
}
-
- Posts: 317
- Joined: June 7th, 2003, 12:45 am
Re: How to change font for preview pane in userChrome.css (!
A few more related question:
The fonts specified in Tools -> Options -> Display, Formatting -> Fonts &Colors ---> Advanced:
Does this font definition has a higher priority than the font definition in userChrome.css resp. userContent.css?
Is this font definition (see above) only for the text body of messages (in preview pane) or for other purposes (menu, headers, messages list as well)?
Inside the Advanced dialog users have to select from dropdown "Fonts for" a font family.
Most of the time ist Latin but rarely its (for me) cyrillic.
What if a message contains latin AND cyrillic chars in parallel?
Is the target family found be interpretation or by a header line (which)?
Thx
Thomas
The fonts specified in Tools -> Options -> Display, Formatting -> Fonts &Colors ---> Advanced:
Does this font definition has a higher priority than the font definition in userChrome.css resp. userContent.css?
Is this font definition (see above) only for the text body of messages (in preview pane) or for other purposes (menu, headers, messages list as well)?
Inside the Advanced dialog users have to select from dropdown "Fonts for" a font family.
Most of the time ist Latin but rarely its (for me) cyrillic.
What if a message contains latin AND cyrillic chars in parallel?
Is the target family found be interpretation or by a header line (which)?
Thx
Thomas
- tanstaafl
- Moderator
- Posts: 49647
- Joined: July 30th, 2003, 5:06 pm
Re: How to change font for preview pane in userChrome.css (!
The *.css files override the Thunderbird settings. See http://kb.mozillazine.org/Pane_and_menu_fonts and http://kb.mozillazine.org/Bad_Eyesight_-_Thunderbird
-
- Posts: 3
- Joined: November 23rd, 2017, 3:49 am
Re: How to change font for preview pane in userChrome.css (!
Hi there,
I have a problem with those solutions. I want only one, _MY_ font in preview panel.
I've checked in options of TB not to use the fonts assigned by the sender - but it doesn't work. Each emails is displayed with it's own (?) font.
I would like to have only one font and one size of it. How to do this? What to put in userChrome.css?
Regards,
Wojtek
I have a problem with those solutions. I want only one, _MY_ font in preview panel.
I've checked in options of TB not to use the fonts assigned by the sender - but it doesn't work. Each emails is displayed with it's own (?) font.
I would like to have only one font and one size of it. How to do this? What to put in userChrome.css?
Regards,
Wojtek
- tanstaafl
- Moderator
- Posts: 49647
- Joined: July 30th, 2003, 5:06 pm
Re: How to change font for preview pane in userChrome.css (!
Try setting a global UI font per http://kb.mozillazine.org/Pane_and_menu_fonts
-
- Posts: 3
- Joined: November 23rd, 2017, 3:49 am
Re: How to change font for preview pane in userChrome.css (!
Doesn't work (change the rest, but not the preview window)tanstaafl wrote:Try setting a global UI font per http://kb.mozillazine.org/Pane_and_menu_fonts
- tanstaafl
- Moderator
- Posts: 49647
- Joined: July 30th, 2003, 5:06 pm
Re: How to change font for preview pane in userChrome.css (!
Strange, I've used that before and I read my email in the preview pane. However, why not adjust the preview pane settings using Tools -> Options -> Display -> Fonts -> Advanced to use the same font/size. Make certain you set "minimum font size" and uncheck "allow messages to use other fonts".
-
- Posts: 3
- Joined: November 23rd, 2017, 3:49 am
Re: How to change font for preview pane in userChrome.css (!
[
https://drive.google.com/open?id=1uAfTS ... HWIKWkGAxO
and nothing....
I did it! - like shown on this picture (TB is in Polish)tanstaafl wrote:Make certain you set "minimum font size" and uncheck "allow messages to use other fonts".
https://drive.google.com/open?id=1uAfTS ... HWIKWkGAxO
and nothing....