Remove main menu items in Firefox

Posted on December 9th, 2007

You can use a quick CSS hack to remove unwanted – or unneeded -top menu items in Firefox to save space in the horizontal menu bar. I have been using only three of the seven available top level menus. The three that I’m using are the View, the Bookmarks and the Tools menu. I’ve never used the File, Edit, History or Help top level menu items.

You need to add some code to the file userChrome.css which is located in your Firefox profile folder. I suggest you search for the file because the path depends on your operating system.

Open userChrome.css in a text editor and add the following lines of code to it:

#go-menu, #helpMenu {
display: none !important;
}

Possible values for the first line are file-menu, edit-menu, view-menu, go-menu, bookmarks-menu, tools-menu, helpMenu. Just add, remove or replace the menus that you want to remove from the menu bar and restart Firefox. The changes should be visible right away.

Posted under: Firefox, Tips

Leave a reply...