搜尋 Mozilla 技術支援網站

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

了解更多

any way to change the font size of bookmark toolsbar?

  • 4 回覆
  • 7 有這個問題
  • 83 次檢視
  • 最近回覆由 oldman1881

more options

any way to change the font size of bookmark toolsbar? upgrade to firefox v22 and notice that font of bookmark toolsbar become bigger, few bookmark can not be displayed, it is normal? any way to change?

any way to change the font size of bookmark toolsbar? upgrade to firefox v22 and notice that font of bookmark toolsbar become bigger, few bookmark can not be displayed, it is normal? any way to change?

被選擇的解決方法

Hello,

Firefox on Windows is now following display scaling options which may render text larger on high resolution displays. You can adjust your screen resolution. To modify it do the following:

  • Type about:config into the Firefox address bar and tap on the Enter key.
  • If the warning This might void your warranty appears, click I'll be careful, I promise.
  • Search for layout.css.devPixelsPerPx

Fx22layout.css.devPixelsPerPx

  • Double-click on layout.css.devPixelsPerPx to modify its value. The default is -1.0 in Firefox 22 and above. Change it to 1.0 to make it work like in previous Firefox versions.

If necessary, further adjust the value in 0.1 or 0.05 steps. Use values between 1.0 and about 0.5 to reduce elements in size. Use values greater than 1.0 to increase size. For example, a value of 1.25 will increase font size to 125% to accommodate the default DPI setting in Windows 8. Double check the value that you enter. Setting a too small value will make everything disappear and a too large value will blow things up.

If web pages still need to be adjusted then you can look at the Default FullZoom Level or NoSquint extension.

To adjust the font size for the user interface, you can use the Theme Font & Size Changer extension.

Did this fix your problems? Please report back to us!

Thank you.

從原來的回覆中察看解決方案 👍 11

所有回覆 (4)

more options

選擇的解決方法

Hello,

Firefox on Windows is now following display scaling options which may render text larger on high resolution displays. You can adjust your screen resolution. To modify it do the following:

  • Type about:config into the Firefox address bar and tap on the Enter key.
  • If the warning This might void your warranty appears, click I'll be careful, I promise.
  • Search for layout.css.devPixelsPerPx

Fx22layout.css.devPixelsPerPx

  • Double-click on layout.css.devPixelsPerPx to modify its value. The default is -1.0 in Firefox 22 and above. Change it to 1.0 to make it work like in previous Firefox versions.

If necessary, further adjust the value in 0.1 or 0.05 steps. Use values between 1.0 and about 0.5 to reduce elements in size. Use values greater than 1.0 to increase size. For example, a value of 1.25 will increase font size to 125% to accommodate the default DPI setting in Windows 8. Double check the value that you enter. Setting a too small value will make everything disappear and a too large value will blow things up.

If web pages still need to be adjusted then you can look at the Default FullZoom Level or NoSquint extension.

To adjust the font size for the user interface, you can use the Theme Font & Size Changer extension.

Did this fix your problems? Please report back to us!

Thank you.

more options

Using the above advice, you should be able to get pretty close to the size of things in Firefox 21. Personally, I suggest the combination of

  • layout.css.devPixelsPerPx = 1.0
  • Theme Font & Size Changer font = 15

But if you find that you would prefer different size fonts on different bars, there are ways to accomplish that by applying different style rules to those different areas. Please ask about that if you're interested.

more options

Is this only happening in the Bookmarks Toolbar?

If you want to change the font size only for the Bookmarks Toolbar then you can do this with code in userChrome.css.


Add code to the userChrome.css file below the default @namespace line (adjust the font size to suit your needs).

The customization files userChrome.css (interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.

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

#PlacesToolbarItems *{font-size: 15px !important;}
more options

yeh, I think there are something new in version 22. although it may not be necessary as I can use NoSquint to 140, font to 15 and win7 display to 125% to solve the font size problem. I am using a 1600x900 13.1' LCD screen.