How to make the font sizes larger in the Firefox Bookmarks Library?
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)
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于
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?
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.
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于
Does other code (#nav-bar) in the file work?
No, it doesn't.
Btw, using Firefox 31
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.
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.)
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.
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
选择的解决方案
This works: ____________________________________________________________________________ window[windowtype="Places:Organizer"] treechildren::-moz-tree-cell-text { font-size: 24px !important; } ____________________________________________________________________________