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!

Fungování této stránky je z důvodu údržby dočasně omezeno. Pokud žádný článek nápovědy nevyřeší váš problém a potřebujete se zeptat na další řešení, napište nám na Twitter @FirefoxSupport nebo Reddit /r/firefox.

Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Zjistit více

Remove extraneous information in bookmarks sidebar

  • 4 odpovědi
  • 1 má tento problém
  • 1 zobrazení
  • Poslední odpověď od 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.
Přiložené obrázky

Zvolené řešení

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
Přečíst dotaz v kontextu 👍 0

Všechny odpovědi (4)

more options

Zvolené řešení

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.