We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

How to make the font sizes larger in the Firefox Bookmarks Library?

  • 12 回覆
  • 2 有這個問題
  • 5 次檢視
  • 最近回覆由 Acloys

more options

The default font size of the entries in my bookmarks menu (displayed when I ask to Show All Bookmarks) is too small for me to read comfortably. How can I permanently increase the font size?

I assume there is a userChrome.css entry to apply. What would it be?

The default font size of the entries in my bookmarks menu (displayed when I ask to Show All Bookmarks) is too small for me to read comfortably. How can I permanently increase the font size? I assume there is a userChrome.css entry to apply. What would it be?

被選擇的解決方法

This works: ____________________________________________________________________________ window[windowtype="Places:Organizer"] treechildren::-moz-tree-cell-text { font-size: 24px !important; } ____________________________________________________________________________

Firefox Support at Mozillazine.org

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

所有回覆 (12)

more options

Add code to the userChrome.css file below the default @namespace line.


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

#places * { font-size:16px !important; }

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

由 cor-el 於 修改

more options

Thanks for replying, but doing that has not helped. I tried also font-siz1 24px, but still no change.

Is there a guide or manual for Firefox userChrome.css options online somewhere?

more options

Oops, sorry I hadn't noticed that something went wrong with the code and some typos slipped in. If you didn't correct them yourself the the corrected code above. I had used the correct code when I tested it, but had forgotten to check what was on the clipboard.

You can also check the properties of the file via the right-click context menu to make sure that it is a CSS file and not a text (TXT) file as Windows hides the .txt file extension by default.

more options

I tried that, and I am still not seeing any changes.

I am using a Mac, not Windows. (OS X 10.6.8, Snow Leopard)

I am attaching screenshots (.png) showing the location of the userChrome.css file I created, and the entries in that file. (I first tried it exactly as you suggested, then I modified it, looking for even more obvious changes. Nothing has made a difference.)

由 Acloys 於 修改

more options

Does other code (#nav-bar) in the file work?

more options

No, it doesn't.

more options

Btw, using Firefox 31

more options

Why did you use the Mac Terminal? You need to create a file called userChrome.css which goes into a subdirectory named chrome in the profile for Firefox. The content that you put into the Terminal goes into that file.

more options

If you check the images I posted above, you will see that I have posted such a file in that location. I don't think the fact that I edited the file with the Nano text editor in Terminal should make any difference. (And just to be sure, I went back and re-did it with Mac TextEdit. Still no effect.)

more options

Searching for answers, came across this post from Cor-El from a year ago:

""Bookmarks toolbar" - "Subscribe to this page" - "Show all bookmarks" are menu items in the Bookmarks menu and can't be removed on Mac like is possible on other platforms because the Mac OS handles the menu bar and not Firefox." (How can I add and remove items from the bookmarks toolbar?)

I am hoping that this does not apply for my question.

more options

That only applies if you want to make changes to menu items that show directly in one of the menu items on the main menu bar. On Mac the Menu bar (Firefox, File, Edit, View, Bookmarks, Tools, Help) is maintained, by the Mac OS and not by Firefox.

Note that my code is meant for the Bookmarks Manager (Library) and not for other places that show bookmarks (Bookmarks Toolbar and Bookmarks Sidebar).

  • Bookmarks > Show All Bookmarks
more options

選擇的解決方法

This works: ____________________________________________________________________________ window[windowtype="Places:Organizer"] treechildren::-moz-tree-cell-text { font-size: 24px !important; } ____________________________________________________________________________

Firefox Support at Mozillazine.org