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!

搜索 | 用户支持

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

详细了解

Reduce Bookmark Size?

  • 4 个回答
  • 1 人有此问题
  • 8 次查看
  • 最后回复者为 Shimergo

more options

I want to reduce the height of my bookmarks. I've just updated the linux OS, which has also upgraded Firefox (now v43.0). But the white space between each bookmark has increased I think, at any rate many of my folders no longer fit on a page.

I've created this file: ~/.mozilla/firefox/mwad0hks.default/chrome/userChrome.css with the lines:

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
#personal-bookmarks .bookmark-item > .toolbarbutton-text { font-size:12pt !important; font-weight:bold; }
#personal-bookmarks .bookmark-item > .toolbarbutton-icon { height:18px !important; width:24px !important; }

but playing with the 18px (and 12pt) data makes no difference.

What am I doing wrong?

I want to reduce the height of my bookmarks. I've just updated the linux OS, which has also upgraded Firefox (now v43.0). But the white space between each bookmark has increased I think, at any rate many of my folders no longer fit on a page. I've created this file: ~/.mozilla/firefox/mwad0hks.default/chrome/userChrome.css with the lines: <pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */ #personal-bookmarks .bookmark-item > .toolbarbutton-text { font-size:12pt !important; font-weight:bold; } #personal-bookmarks .bookmark-item > .toolbarbutton-icon { height:18px !important; width:24px !important; }</nowiki></pre> but playing with the 18px (and 12pt) data makes no difference. What am I doing wrong?

由cor-el于修改

所有回复 (4)

more options

Try a different Linux theme as we have seen reports that the Linux window theme affects the width of these items.

more options

I'm on Mint Xfce. just tried some other themes, but the difference to the bookmark heights is trivial.

The above should work from what I've read in similar threads, but I guess I'm just making a small mistake or a small misunderstanding if someone can spot it please? Thanks!

more options

Did you try to check with the DOM Inspector that the rules are applied to those bookmark-items?

I use this code with negative margins for the height:

#PersonalToolbar {height:26px!important}
#personal-bookmarks  toolbarbutton {margin:-1px 0 6px 0 !important}
#personal-bookmarks .toolbarbutton-icon {margin:-2px 2px -2px 0 !important}
#personal-bookmarks .toolbarbutton-text {margin:-2px 0 !important}
more options

Thanks, cor-el. Sadly this code had no impact either. (I just appended it to what I have above, including #'s - I think that's right?)

Is it possible I've got the userChrome.css in the wrong place?

And I'm a complete novice at all this. Didn't know what a DOM Inspector is. Looked it up, and have now opened it. But if I need to use it for this issue, could you point me to a tutorial that addresses your specific question, or guide me through the steps please?