Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

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

  • 12 trả lời
  • 2 gặp vấn đề này
  • 5 lượt xem
  • Trả lời mới nhất được viết bởi 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?

Giải pháp được chọn

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

Firefox Support at Mozillazine.org

Đọc câu trả lời này trong ngữ cảnh 👍 0

Tất cả các câu trả lời (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.

Được chỉnh sửa bởi cor-el vào

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.)

Được chỉnh sửa bởi Acloys vào

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

Giải pháp được chọn

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

Firefox Support at Mozillazine.org