This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Mulongo oyo etiyamaki na archive. Tuna motuna mosusu soki osengeli na lisalisi

how to remove folder icons in Bookmarks Toolbar

  • 8 biyano
  • 1 eza na nkokoso oyo
  • 230 views
  • Eyano yasuka ya mathbarian

more options

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?

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?

Solution eye eponami

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;
}
Tanga eyano oyo ndenge esengeli 👍 1

All Replies (8)

more options

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 :

Please let us know if this solved your issue or if need further assistance.

more options

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:

more options

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.

more options

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:
  • 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:

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

Ezalaki modifié na mathbarian

more options

Ezalaki modifié na mathbarian

more options

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 ...

Ezalaki modifié na mathbarian

more options

Solution eye oponami

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

Ezalaki modifié na cor-el

more options

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.