This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Reduce Bookmark Size?

  • 4 replies
  • 1 has this problem
  • 1 view
  • Last reply by 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?

Modified by cor-el

All Replies (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?