Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Reduce Bookmark Size?

  • 4 réponses
  • 1 a ce problème
  • 8 vues
  • Dernière réponse par 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?

Modifié le par cor-el

Toutes les réponses (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?