搜尋 Mozilla 技術支援網站

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

了解更多

Making the collapsible bookmarks drop-down menu just a star icon

  • 3 回覆
  • 1 有這個問題
  • 6 次檢視
  • 最近回覆由 Astroboy412

more options

Good day,

I currently use the drop-down style of bookmarks on my browser - here's a picture:

http://img51.imageshack.us/img51/5098/1yz.png

What I would like to do is have that drop-down button without the text. If I go to customize, and substitute the text-less bookmarks star, it's not a drop-down, it's a space-hogging, webpage scrunching thing.

Can anyone tell me how to make this bookmarks drop-down button just an icon?

Thanks in advance...

Good day, I currently use the drop-down style of bookmarks on my browser - here's a picture: http://img51.imageshack.us/img51/5098/1yz.png What I would like to do is have that drop-down button without the text. If I go to customize, and substitute the text-less bookmarks star, it's not a drop-down, it's a space-hogging, webpage scrunching thing. Can anyone tell me how to make this bookmarks drop-down button just an icon? Thanks in advance...

被選擇的解決方法

Add code to the userChrome.css file below the default @namespace line.

The customization files userChrome.css (interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.


@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#bookmarks-menu-button .toolbarbutton-text { display:none!important; }
從原來的回覆中察看解決方案 👍 1

所有回覆 (3)

more options

This can be done by putting bookmarks into folders and having the folder appear on the toolbar. See Use bookmark folders to organize your bookmarks for more!

more options

選擇的解決方法

Add code to the userChrome.css file below the default @namespace line.

The customization files userChrome.css (interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.


@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#bookmarks-menu-button .toolbarbutton-text { display:none!important; }
more options

Cheers! I had a fresh OS install so there was no chrome file in my Firefox. Making a userChrome.css file in there - with that text - completely accomplished what I wanted. Thanks a bunch!