how to remove folder icons in Bookmarks Toolbar
before firefox's big change, I used an add-on to customize my bookmarks; now that's gone, and with it my multiple rows and other space savers / givers are gone. the hardest thing to get used to is the folders having icons again. It just take up so much more room. Is there an easy way to get rid of them?
সমাধান চয়ন করুন
I see that I forgot to remove a ':' from the selector (I had a :not() selector in the code I used).
This code should work as tested.
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */ /* hide icons for bookmark folders */ #personal-bookmarks .bookmark-item[container="true"] .toolbarbutton-icon { display:none!important; }প্রেক্ষাপটে এই উত্তরটি পড়ুন। 👍 1
All Replies (8)
Hi, Not really, Delete all that will Delete with a Right Click. Bookmarks are meant to be that to make folders to put like things into them. My Recipe Folder is bigger than my WIn10 or Firefox Folders. My bookmarks are 18yrs old so ya could not do with out Folders. Give it a chance they may grow on you especially with these options :
- https://addons.mozilla.org/firefox/search/?platform=windows&q=Bookmark+Manager
- https://addons.mozilla.org/firefox/search/?platform=windows&q=Bookmarks
Please let us know if this solved your issue or if need further assistance.
Hi mathbarian, add-ons can no longer make style tweaks to the bookmarks toolbar, you now need to apply them through a userChrome.css file.
There are many possible style recipes and tweaks, including multi-row and hiding icons, or labels, or both (just kidding, that would be useless). In order to find an existing rule set or get one custom built, it would be helpful to have a full check list of what you're looking for.
So for example:
- How many rows of bookmarks?
- Hide icons for regular folders, but not any other kinds of bookmarks
- Anything else?
If the discussion stalls out here, I'll give you a couple links for further research:
- https://www.userchrome.org/what-is-userchrome-css.html#multirowbookmarks
- https://www.reddit.com/r/FirefoxCSS/ (please search before posting to avoid being criticized)
You can add code to the userChrome.css file below the default @namespace line.
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */ /* hide icons for bookmark folders */ #personal-bookmarks .bookmark-item:[container="true"] .toolbarbutton-icon { display:none!important; }
It is not that difficult to create userChrome.css if you have never used it.
The first step is to open the "Help -> Troubleshooting Information" page and find the button to access the profile folder.
You can find this button under the "Application Basics" section as "Profile Folder -> Open Folder". If you click this button then you open the profile folder in the Windows File Explorer. You need to create a folder with the name chrome in this folder (name is all lowercase). In the chrome folder you need to create a text file with the name userChrome.css (name is case sensitive). In this userChrome.css text file you paste the text posted.
In Windows saving the file is usually the only time things get more complicated because Windows can silently add a .txt file extension and you end up with a file named userChrome.css.txt. To avoid this you need to make sure to select "All files" in the dialog to save the file in the text editor using "Save File as".
You need to close and restart Firefox when you create or modify the userChrome.css file.
jscher2000 said
Hi mathbarian, add-ons can no longer make style tweaks to the bookmarks toolbar, you now need to apply them through a userChrome.css file. There are many possible style recipes and tweaks, including multi-row and hiding icons, or labels, or both (just kidding, that would be useless). In order to find an existing rule set or get one custom built, it would be helpful to have a full check list of what you're looking for. So for example:If the discussion stalls out here, I'll give you a couple links for further research:
- How many rows of bookmarks?
- Hide icons for regular folders, but not any other kinds of bookmarks
- Anything else?
- https://www.userchrome.org/what-is-userchrome-css.html#multirowbookmarks
- https://www.reddit.com/r/FirefoxCSS/ (please search before posting to avoid being criticized)
I liked the 2-3 line bookmarks. Is there a way to make it show up to 3 rows, only going however much it needs to show all? I saw the css for multiple bookmark rows, but I couldn't figure out how to set how many to show.
p.s. I did used to hide both icons and labels; I hid the folder icons, and the non-folder labels ;)
mathbarian দ্বারা পরিমিত
mathbarian দ্বারা পরিমিত
cor-el said
You can add code to the userChrome.css file below the default @namespace line.
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */ /* hide icons for bookmark folders */ #personal-bookmarks .bookmark-item:[container="true"] .toolbarbutton-icon { display:none!important; }
one problem: this code doesn't work. Is there a typo somewhere? I've double checked that I have everything correct, and I've restarted Firefox, so ...
mathbarian দ্বারা পরিমিত
চয়ন করা সমাধান
I see that I forgot to remove a ':' from the selector (I had a :not() selector in the code I used).
This code should work as tested.
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */ /* hide icons for bookmark folders */ #personal-bookmarks .bookmark-item[container="true"] .toolbarbutton-icon { display:none!important; }
cor-el দ্বারা পরিমিত
thacor-el said
I see that I forgot to remove a ':' from the selector (I had a :not() selector in the code I used). This code should work as tested.@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */ /* hide icons for bookmark folders */ #personal-bookmarks .bookmark-item[container="true"] .toolbarbutton-icon { display:none!important; }
Thank you. It works great now.