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!

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

Reduce Bookmark Size?

  • 4 svar
  • 1 har detta problem
  • 8 visningar
  • Senaste svar av 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?

Ändrad av cor-el

Alla svar (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?