搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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