搜尋 Mozilla 技術支援網站

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

了解更多

How do I change the font size of Firefox's headers elements: menu, tabs, bookmark toolbar?

  • 5 回覆
  • 1 有這個問題
  • 3 次檢視
  • 最近回覆由 cor-el

more options

FF v79.0 ubuntu 18.04.5

How do I change the font size of Firefox's webbrowser elements: menu, tabs, bookmark toolbar, etc. All things above the webpage window?

FF v79.0 ubuntu 18.04.5 How do I change the font size of Firefox's webbrowser elements: menu, tabs, bookmark toolbar, etc. All things above the webpage window?

所有回覆 (5)

more options

You'd have to change them from your OS settings haha. Install `gnome-tweaks`, go to fonts, change the size there. Obviously it will change the font size everywhere, not just firefox see https://imgur.com/hpN1p1U

more options

You can set layout.css.devPixelsPerPx to 1.0 (default is -1) on the about:config page. Adjust its value in 0.1 or 0.05 steps (1.1 or 0.9) until icons or text looks right.

  • modifying layout.css.devPixelsPerPx affects user interface and web pages (global zoom)

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.

Firefox 73+ comes with a Zoom section in Options/Preferences to set the default zoom level for web pages.

  • Options/Preferences -> General -> Language and Appearance -> Zoom
more options

cor-el said

You can set layout.css.devPixelsPerPx to 1.0 (default is -1) on the about:config page. Adjust its value in 0.1 or 0.05 steps (1.1 or 0.9) until icons or text looks right.
  • modifying layout.css.devPixelsPerPx affects user interface and web pages (global zoom)
You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue. Firefox 73+ comes with a Zoom section in Options/Preferences to set the default zoom level for web pages.
  • Options/Preferences -> General -> Language and Appearance -> Zoom


I've seen this answer posted before and this adjustment has absolutely no effect on anything above the webpage window. This advanced setting only affects the the size of the font within the webpage viewing area. It does not change the "Menu font size" nor the "Tab font Size" nor the "Bookmark bar font size". I'm still looking for a way to customize "Firefox's font size", not zooming the viewing window's font size.

more options

Chinmay said

You'd have to change them from your OS settings haha. Install `gnome-tweaks`, go to fonts, change the size there. Obviously it will change the font size everywhere, not just firefox see https://imgur.com/hpN1p1U

I have not installed gnome-tweaks b/c I actually have kubuntu and fortunately, adjusting the font size is baked into kubuntu. I've made as many setting changes as I can and nothing affects the Firefox's font size.

I was hoping to find a setting in Firefox's "Customize..." feature to change, but I guess not.

Perhaps a future version can add a "font-widget" in the "Customize..." manipulations. Or at the very least, add a few new parameters to about:config for users to adjust: font.size.menu, font.size.tab, font.size.toolbar.bookmark, font.size.toolbar.address, font.size.windowtitle

more options

The layout.css.devPixelsPerPx pref affects both the user interface area and the web page area.

Didn't you look at this pref on the about:config page ?

I mentioned the Zoom setting, so you can adjust the page zoom to compensate for the enlargement made by modifying layout.css.devPixelsPerPx.