We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Remove extraneous information in bookmarks sidebar

  • 4 réponses
  • 1 a ce problème
  • 1 vue
  • Dernière réponse par Queenmab100

more options

Attached is a screen shot of Mozilla Firefox 42 on my Windows 7 PC. I like having the bookmarks sidebar but would like to remove the following extraneous text at the top of the sidebar:

1. The word "Bookmarks" immediately under the bookmarks toolbar at the top left of the sidebar 2. The word "Search" and the search window next to it 3. The words "Bookmarks Toolbar" under that search window. (Although I want the Bookmarks tool bar with links to those sites I visit often to be visible. I just don't need the "Bookmarks Toolbar" on the sidebar.)

Please look at the picture before answering. This will make clear what I am trying to remove.

Any tips? Thanks for your help.

Attached is a screen shot of Mozilla Firefox 42 on my Windows 7 PC. I like having the bookmarks sidebar but would like to remove the following extraneous text at the top of the sidebar: 1. The word "Bookmarks" immediately under the bookmarks toolbar at the top left of the sidebar 2. The word "Search" and the search window next to it 3. The words "Bookmarks Toolbar" under that search window. (Although I want the Bookmarks tool bar with links to those sites I visit often to be visible. I just don't need the "Bookmarks Toolbar" on the sidebar.) Please look at the picture before answering. This will make clear what I am trying to remove. Any tips? Thanks for your help.
Captures d’écran jointes

Solution choisie

You can hide the line with the Bookmarks label and the close icon and the search bar with code in userChrome.css, but you can't hide the Bookmarks Toolbar as that entire content consists of a single treechildren item.

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 */

#sidebar-header, #search-box { display:none!important; }

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

You can use this button to go to the current Firefox profile folder:

  • Create the chrome folder (lowercase) in the <xxxxxxxx>.default profile folder if this folder doesn't exist
  • Use a plain text editor like Notepad to create a (new) userChrome.css file in the chrome folder (file name is case sensitive)
  • Paste the code in the userChrome.css file in the editor window
  • Make sure that the userChrome.css file starts with the default @namespace line
  • Make sure that you select "All files" and not "Text files" when you save the file via "Save file as" in the text editor as userChrome.css.
    Otherwise Windows may add a hidden .txt file extension and you end up with a not working userChrome.css.txt file
Lire cette réponse dans son contexte 👍 0

Toutes les réponses (4)

more options

Solution choisie

You can hide the line with the Bookmarks label and the close icon and the search bar with code in userChrome.css, but you can't hide the Bookmarks Toolbar as that entire content consists of a single treechildren item.

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 */

#sidebar-header, #search-box { display:none!important; }

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

You can use this button to go to the current Firefox profile folder:

  • Create the chrome folder (lowercase) in the <xxxxxxxx>.default profile folder if this folder doesn't exist
  • Use a plain text editor like Notepad to create a (new) userChrome.css file in the chrome folder (file name is case sensitive)
  • Paste the code in the userChrome.css file in the editor window
  • Make sure that the userChrome.css file starts with the default @namespace line
  • Make sure that you select "All files" and not "Text files" when you save the file via "Save file as" in the text editor as userChrome.css.
    Otherwise Windows may add a hidden .txt file extension and you end up with a not working userChrome.css.txt file
more options

Thanks but this seems beyond me! If I have a free hour or two, I might attempt it.  :-)

more options

You can also install the Stylish extension to apply this CSS rule.

more options

Thanks. Will check it out.