为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

How can I increase the font size of the text in the dropdown list of a live bookmark?

  • 6 个回答
  • 1 人有此问题
  • 2 次查看
  • 最后回复者为 wd0d

more options

I have successfully increased the size to all other text areas of Firefox, but I can't seem to find any way to increase the font size of the Live Bookmark dropdown list. I'm using FF 58.

I have successfully increased the size to all other text areas of Firefox, but I can't seem to find any way to increase the font size of the Live Bookmark dropdown list. I'm using FF 58.

所有回复 (6)

more options

What code in userChrome.css are you currently using for bookmarks?

Where do you want to modify the font-size (Bookmarks menu, Bookmarks Toolbar, sidebar)?


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


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

#navigator-toolbox .bookmark-item[container="true"][livemark="true"] menupopup :-moz-any(menu,menuitem) {
 font-size: 20px !important;
}
more options

I am using the following in userchrome

/* Multi-Row Bookmarks Toolbar */
#PersonalToolbar {
  /* Provide room for up to 4 rows at 26px */
  max-height: 104px !important;
}
#PlacesToolbarItems > box {
  display: inline-block !important;
}
#PersonalToolbar #PlacesToolbarItems {
  /* Override hiding */
  overflow-x: visible !important;
  overflow-y: visible !important;
  /* Add a little cushion */
  padding-bottom: 1px;
}
#PersonalToolbar #PlacesToolbarItems .bookmark-item {
  /* Reduce padding on individual bookmarks to fit rows closer together */
  padding-top: 1px !important;
  padding-bottom: 1px !important;
}
/* Tab bar below Navigation and Bookmarks Toolbars for est results, show Title Bar or Menu Bar */
#nav-bar {/*main toolbar*/-mox-box-ordinal-group:1!important;border-top-width: 0 !important;}
#PersonalToolbar{/*bookmarkstoobar*/-moz-box-ordinal-group:2!important;}
#TabsToolbar{/*tab bar*/ -moz-box-ordinal-group:3!important;}
#personal-bookmarks .bookmark-item > .toolbarbutton-text { font-size:12pt !important; font-weight:bold;

This gives me multirow bookmarks, as well as larger bookmark text for the headings, which is in bold type font as well. All I am lacking is larger dropdown text size. The dropdown text size is roughly the same size as the FF tab headers.

Thanks for any help you can provide

由cor-el于修改

more options

I notice a missing closing bracket (}) in the last line. I don't know if it got lost with pasting or that this

#personal-bookmarks .bookmark-item > .toolbarbutton-text { font-size:12pt !important; font-weight:bold;

Should be:

#personal-bookmarks .bookmark-item > .toolbarbutton-text { font-size:12pt !important; font-weight:bold;}

This code will only affect bookmarks on the Bookmarks Toolbar and not bookmarks in a drop-down list (folder).

Did you try to add the code I posted about?

Note that I use .bookmark-item[container="true"][livemark="true"]. This means only livemark items are affected since you mentioned them specifically.

  • [container="true"] means a bookmarks folder
  • [livemark="true"] means a live bookmarks folder
more options

I added the bracket, but nothing changed. The referenced text was already bold and it stayed bold.

I added your lines at the bottom of my text file, but they had no effect on the font size, sorry. Any other thoughts?

more options

This code should work for all menu items in the #navigator-toolbox. Best is to place code at the bottom of the userChrome.css file.

#navigator-toolbox menupopup :-moz-any(menu,menuitem) {
 font-size: 20px !important;
}
more options

I tried your suggestion, nothing changed here is a screen grab that shows the situation. I would like the dropdown text size to be larger, closer to the bookmark size.

Thanks for your efforts.

由wd0d于修改