搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Bookmark Toolbar: show icons only

  • 1 回覆
  • 1 有這個問題
  • 31 次檢視
  • 最近回覆由 cor-el

more options

Over the years, I have become dependent on a bookmarks toolbar that shows only icons, but will show the text with a mouse hover, using the following in userchrome:

/* The lines below allow the bookmarks toolbar to show only icons */

#personal-bookmarks .bookmark-item > .toolbarbutton-text { display:none !important; }
#personal-bookmarks .bookmark-item > .toolbarbutton-icon {
 margin:0px 0px 0px -4px !important;
 padding:0px !important;
}

The upgrade to Firefox 96 broke this. I considered spending an hour or two deleting the text from all of the bookmarks on my bookmarks toolbar, but I depend on the mouse-hover tooltip with the text to remind me of some important but not all-that-frequently-used bookmarks.

Any help appreciated.

Over the years, I have become dependent on a bookmarks toolbar that shows only icons, but will show the text with a mouse hover, using the following in userchrome: <pre><nowiki>/* The lines below allow the bookmarks toolbar to show only icons */ #personal-bookmarks .bookmark-item > .toolbarbutton-text { display:none !important; } #personal-bookmarks .bookmark-item > .toolbarbutton-icon { margin:0px 0px 0px -4px !important; padding:0px !important; }</nowiki></pre><br> The upgrade to Firefox 96 broke this. I considered spending an hour or two deleting the text from all of the bookmarks on my bookmarks toolbar, but I depend on the mouse-hover tooltip with the text to remind me of some important but not all-that-frequently-used bookmarks. Any help appreciated.

由 cor-el 於 修改

所有回覆 (1)

more options

That code still works for me.

Is that the only code in your userChrome.css or do you possibly have CSS code above or below it that is causing problems ?

In Firefox 69 and later you need to set this pref to true on the about:config page to enable userChrome.css and userContent.css in the chrome folder.

You can possibly add this rule to show the text on hover.

#personal-bookmarks .bookmark-item:hover > .toolbarbutton-text { display:-moz-box !important; }