Windows 10 已于2025年10月14日停止支持。如果您正在使用 Windows 10,参见 这篇文章

Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解
已存档

Bookmark Toolbar: show icons only

cor-el 已回复
kconovermd

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)

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; }