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

How can I get rid of the blank favicon boxes, especially in bookmarks?

  • 8 replies
  • 4 have this problem
  • 2 views
  • Last reply by soapbox

more options

Those boxes with the dotted lines, next to a bookmark where the favicon would be, are ugly and take up space. I don't mind the actual favicons, but is there a way to get rid of the empty boxes? They were not there in previous versions of Firefox.

Those boxes with the dotted lines, next to a bookmark where the favicon would be, are ugly and take up space. I don't mind the actual favicons, but is there a way to get rid of the empty boxes? They were not there in previous versions of Firefox.

Chosen solution

I found a different code that seems to work:

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

toolbarbutton.bookmark-item > .toolbarbutton-icon {

     display: none !important;

}

Read this answer in context 👍 0

All Replies (8)

more options

See [/questions/890741]

You can hide the default favicon on the Bookmarks Toolbar with this code in userChrome.css:

.bookmark-item:not(src):not([container]):not([type]) { display:none!important; }
more options

Thank you for your reply.

I had two profiles on my computer (Mac) -- one from my old computer (I switched a month or so ago) and one that's recent (and that's the active one). The older, not-in-use profile had a folder with userChrome-Example.css, which I copied and pasted and changed the name to userChrome.css. I left the name line (as they instructed) and added your line. I then copied the Chrome folder into the active, newer profile.

It didn't work, and that newer profile didn't even have a Chrome folder to start with. So I'm wondering if Firefox 9 lets us change those boxes.

Did I do something wrong? Is it in the wrong place? Do I have to do something additional to activate this change?

The new css file is currently inside a newly-created Chrome folder in my active profile. This is how the whole file reads:

*/

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */


/*

.bookmark-item:not(src):not([container]):not([type]) { display:none!important; }
*/
more options

You've commented out that code by pasting the code inside a /* */ section.
You need to remove those codes and only leave the .bookmark-item line to make the code work.

.bookmark-item:not(src):not([container]):not([type]) { display:none!important; }
more options

I took the comment things off both the namespace line and the bookmark line.

The result is that it shows no bookmarks at all in my bookmark bar. It just shows folders.

I would like to see the type for the bookmarks, and also the favicons if favicons exist -- just not the empty boxes. If it has to be a choice between just type on the one hand, and favicons plus empty boxes, on the other, I guess I prefer no favicons and no empty boxes.

It now reads like this -- I'm not sure if the namespace code is correct, since I got it from an older profile:

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */

.bookmark-item:not(src):not([container]):not([type]) { display:none!important; }

more options

Chosen Solution

I found a different code that seems to work:

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

toolbarbutton.bookmark-item > .toolbarbutton-icon {

     display: none !important;

}

more options

Your code removes all favicons from the toolbar.
The code that I posted above will leave some favicons that aren't the default empty sqaure, so it is up to you what you prefer.

See also:

more options

I would rather have some favicons, but your code removes all my bookmarks entirely from the bookmark toolbar, leaving only a few empty folders.

more options

Are you using a mac? I have 10.6.8.

Are you using Firefox 9.0.1?

Clearly it's working for you -- don't know what I'm doing wrong.

I can live with all bookmarks and no favicons, but if you have a way to make some favicons appear, that would be better. Your code is removing all my bookmarks, though.