搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How can I get userChrome.css to change fonts on Mac?

  • 1 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 sfhowes

more options

I need to change all the font sizes of my Thunderbird on Mac, menu's fonts included. I tried to modify the userChrome.css file but nothing change. There is anyone can help me? Thanks. Here what I done for TB version 76.5 (64 bit):

name@MyMac chrome % pwd /Users/name/Library/Thunderbird/Profiles/m2vx3jrx.default-release/chrome name@MyMac chrome % ls -la userChrome.css -rwxr-xr-x@ 1 name staff 170 2 Dic 11:04 userChrome.css

name@MyMac chrome % cat userChrome.css

/* Make all the default font sizes 16 pt: */

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

  • {

font-size: 16pt !important; }

name@MyMac chrome %

I need to change all the font sizes of my Thunderbird on Mac, menu's fonts included. I tried to modify the userChrome.css file but nothing change. There is anyone can help me? Thanks. Here what I done for TB version 76.5 (64 bit): name@MyMac chrome % pwd /Users/name/Library/Thunderbird/Profiles/m2vx3jrx.default-release/chrome name@MyMac chrome % ls -la userChrome.css -rwxr-xr-x@ 1 name staff 170 2 Dic 11:04 userChrome.css name@MyMac chrome % cat userChrome.css /* Make all the default font sizes 16 pt: */ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); * { font-size: 16pt !important; } name@MyMac chrome %

所有回覆 (1)

more options

To change all the fonts, it's probably easier to just modify a single preference, layout.css.devPixelsPerPx.

https://support.mozilla.org/en-US/questions/1269361#answer-1254162