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

userContent.css for plain text mails only?

  • 9 replies
  • 1 has this problem
  • 1 view
  • Last reply by DanielFoto

more options

The font size of plain text mails is very small. So I added a file "userContent.css" in a folder "chrome" and put in that file:

  • {
   font-size: 11pt ;

}

Problem is, that this does not format /all/ texts to 11pt. It does, when I add "important!", but then all emails, also html-mails, are affected and font-size in any email is 11pt. Even the editor to write new mails in html-mode will then not allow changes in font-size anymore.

So what I need is a style that only affects incoming plain-text emails, and then all in these mails.

I attach 2 examples:

- first plain text email is shown in standard micro-front - the answer shows one line in standard micro-font, and one line in my CSS-11pt.

Both are unstyled plain-text mails, here's part of the header:

User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101

Thunderbird/60.0

MIME-Version: 1.0 In-Reply-To: .... Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit

The font size of plain text mails is very small. So I added a file "userContent.css" in a folder "chrome" and put in that file: * { font-size: 11pt ; } Problem is, that this does not format /all/ texts to 11pt. It does, when I add "important!", but then all emails, also html-mails, are affected and font-size in any email is 11pt. Even the editor to write new mails in html-mode will then not allow changes in font-size anymore. So what I need is a style that only affects incoming plain-text emails, and then all in these mails. I attach 2 examples: - first plain text email is shown in standard micro-front - the answer shows one line in standard micro-font, and one line in my CSS-11pt. Both are unstyled plain-text mails, here's part of the header: User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: .... Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit
Attached screenshots

All Replies (9)

more options

Did you try the obvious simple route?

That is, did you go to

Tools|Options|Display|Formatting→Advanced

and set the font faces and sizes there?

I am not sure that the css files still work in TB60. I had some funny font size issues when testing the betas, despite having my own userContent.css and userChrome.css files.

more options

I do not have Tools|Options| because I am on Linux, but I have

Edit → Preferences |Display|Formatting→Fonts&Colors→Advanced  

But these settings only affect mails I write, but not mails I receive.

more options

Yeah, that's why I give an URL taking the reader to a webpage that discusses the menu differences.

I don't understand your issue; those settings control the way the message displays, regardless of whether you are reading it or writing it.

more options

Here thy don't :-(

To be sure I removed my "chrome" folder, restarted thunderbird, put really large numbers in the settings, saved, restared tb, send a new plain-text test mail... here the results:

First image shows the received mail (left) in micro-font, and at the right part of an editor window to write a new plain text mail. Here the font is in the size i set - but not in the received one

Second image shows the settings applied for this test

more options

Another detail I see now: in html mails the minimum font size does apply to the display, but not in plain text mails.

My problem is only with plain text mails.

more options

What happens if you select:

  • Edit → Preferences |Display|Formatting

Plain text Messages:

  • Size : Bigger
  • click on 'OK'
more options

Very odd. I disabled my 'chrome' folder I'm using 52.9.1 I should mention I'm using Windows OS.

Edit > Preferences |Display|Formatting→Fonts&Colors→Advanced I've just increased my Monospace to 30 whilst everything else was on 14. Restarted Thunderbird to make sure all new settings were used.

All plain text view is now super large and all html view is smaller as expected.

Modified by Toad-Hall

more options

Just noticed something in your image ......

Edit > Preferences |Display|Formatting→Fonts&Colors→Advanced

My Monospace: font is 'Consolas' as you have chosen 'monospace' as the actual font. Please change to another Monospace font name and do some testing.

more options

Plain text Messages: Size : Bigger only affects my editor window (write a new mail) bot not the display of received mails

Same with changing the font: I tried several, like currier new and some others that really look different - but the font changes only in the editor window.

My entry in the userContent.css has some effect on some plain text mails, but on most of them not. Even in those that it obviously has an effect, when there are quotes from former mails either the quotes or the new text is smaller, as you can see in the second screenshot on my first post.

If I put "important!" in the css then all mails display in this font size, but also all html mails, where there styling is overwritten in regard of font-sizes. So, the CSS entry is seen and has some effects, but not in a way that I can control...

I use Thunderbird 60.0 on opensuse 42.3 from the opensuse repos.

It would be interesting if someone who uses thunderbird under linux could check what happens in his tb, if it is a linux special problem or maybe even an opensuse special?