Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

Reduce Bookmark Size?

  • 4 trả lời
  • 1 gặp vấn đề này
  • 8 lượt xem
  • Trả lời mới nhất được viết bởi 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?

Được chỉnh sửa bởi cor-el vào

Tất cả các câu trả lời (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?