為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

Hide Bookmarks bar shortcuts text.

  • 1 回覆
  • 0 有這個問題
  • 1 次檢視
  • 最近回覆由 meromex_102

more options

there used to be an add on called roomy bookmarks that stopped working so people found ways around to replicate it and it works on win 10 but I just switched to Win 11 and this solution doesnt seem to work anymore for me, anyone know if i need to change anything?

    Locate your firefox profile folder, in this article they say where you can find it: http://kb.mozillazine.org/Profile_folder
   Find your profile folder mine was: C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\***.default\
   Locate a folder called chrome (if it doesn't exists create one through your O.S) must be lowercase
   Locate inside chrome folder the file: userChrome.css (if it doesn't exists create one through your O.S, google how to create a .css file on notepad) Chrome must be cased as shown above
   Add the code: https://pastebin.com/1r6cc8hW
   Restart Firefox, now you are done, if you don't want text to be displayed within the icons just remove the last line. 

This is the line of code i have in css file that works for me in my win 10 machine.

/*

* Recreates the basic functionality of the popular Roomy Bookmarks Toolbar add-on in Firefox 57+.
* Uncomment the section with the functionality that you want, leave all other sections commented.
* This only affects toplevel toolbar bookmarks and folders, bookmarks and subfolders in folders are unaffected.
* The tooltips on long hover (showing bookmark name and link) are unaffected.
*/
/* some margin settings, do not comment out */

.bookmark-item > .toolbarbutton-text {

 margin-top: -1px !important;

} .bookmark-item {

 margin: -1px !important;

}


/* No text on toolbar bookmarks; Text on bookmark folders. No hover effect. */

  1. PlacesToolbarItems > .bookmark-item:not([container]):not([open="true"]) > .toolbarbutton-text {
 display: none !important;

}

  1. PlacesToolbarItems > .bookmark-item:not([container]):not([open="true"]) > .toolbarbutton-icon[label]:not([label=""]) {
 margin-inline-end: 0px !important;

}


/* No text on toolbar bookmarks; No text on bookmark folders. Show bookmark text on hover. */ /*

  1. PlacesToolbarItems > .bookmark-item:not(:hover):not([open="true"]) > .toolbarbutton-text {
 display: none !important;

}

  1. PlacesToolbarItems > .bookmark-item:not(:hover):not([open="true"]) > .toolbarbutton-icon[label]:not([label=""]) {
 margin-inline-end: 0px !important;

}

  • /


/* No text on toolbar bookmarks; Text on bookmark folders. Show bookmark text on hover. */ /*

  1. PlacesToolbarItems > .bookmark-item:not(:hover):not([container]):not([open="true"]) > .toolbarbutton-text {
 display: none !important;

}

  1. PlacesToolbarItems > .bookmark-item:not(:hover):not([container]):not([open="true"]) > .toolbarbutton-icon[label]:not([label=""]) {
 margin-inline-end: 0px !important;

}

  • /

does anyone have a workaround or a similar add on? i would like to have my booksmarks as shown in the screenshot on my win 11 pc as well.

there used to be an add on called roomy bookmarks that stopped working so people found ways around to replicate it and it works on win 10 but I just switched to Win 11 and this solution doesnt seem to work anymore for me, anyone know if i need to change anything? **** Locate your firefox profile folder, in this article they say where you can find it: http://kb.mozillazine.org/Profile_folder Find your profile folder mine was: C:\Users\***\AppData\Roaming\Mozilla\Firefox\Profiles\***.default\ Locate a folder called chrome (if it doesn't exists create one through your O.S) must be lowercase Locate inside chrome folder the file: userChrome.css (if it doesn't exists create one through your O.S, google how to create a .css file on notepad) Chrome must be cased as shown above Add the code: https://pastebin.com/1r6cc8hW Restart Firefox, now you are done, if you don't want text to be displayed within the icons just remove the last line. **** This is the line of code i have in css file that works for me in my win 10 machine. ********************************************************************************** /* * Recreates the basic functionality of the popular Roomy Bookmarks Toolbar add-on in Firefox 57+. * Uncomment the section with the functionality that you want, leave all other sections commented. * This only affects toplevel toolbar bookmarks and folders, bookmarks and subfolders in folders are unaffected. * The tooltips on long hover (showing bookmark name and link) are unaffected. */ /* some margin settings, do not comment out */ .bookmark-item > .toolbarbutton-text { margin-top: -1px !important; } .bookmark-item { margin: -1px !important; } /* No text on toolbar bookmarks; Text on bookmark folders. No hover effect. */ #PlacesToolbarItems > .bookmark-item:not([container]):not([open="true"]) > .toolbarbutton-text { display: none !important; } #PlacesToolbarItems > .bookmark-item:not([container]):not([open="true"]) > .toolbarbutton-icon[label]:not([label=""]) { margin-inline-end: 0px !important; } /* No text on toolbar bookmarks; No text on bookmark folders. Show bookmark text on hover. */ /* #PlacesToolbarItems > .bookmark-item:not(:hover):not([open="true"]) > .toolbarbutton-text { display: none !important; } #PlacesToolbarItems > .bookmark-item:not(:hover):not([open="true"]) > .toolbarbutton-icon[label]:not([label=""]) { margin-inline-end: 0px !important; } */ /* No text on toolbar bookmarks; Text on bookmark folders. Show bookmark text on hover. */ /* #PlacesToolbarItems > .bookmark-item:not(:hover):not([container]):not([open="true"]) > .toolbarbutton-text { display: none !important; } #PlacesToolbarItems > .bookmark-item:not(:hover):not([container]):not([open="true"]) > .toolbarbutton-icon[label]:not([label=""]) { margin-inline-end: 0px !important; } */ ********************************************************************** does anyone have a workaround or a similar add on? i would like to have my booksmarks as shown in the screenshot on my win 11 pc as well.
附加的畫面擷圖

被選擇的解決方法

Apologies, i was dumb and forgot to to turn "toolkit.legacyUserProfileCustomizations.stylesheets" on on the new machine. i would like to close this question. not sure how though, issue is resolved.

從原來的回覆中察看解決方案 👍 0

所有回覆 (1)

more options

選擇的解決方法

Apologies, i was dumb and forgot to to turn "toolkit.legacyUserProfileCustomizations.stylesheets" on on the new machine. i would like to close this question. not sure how though, issue is resolved.