How to Customize the Appearance of the Orange Firefox Menu Button

By Lori Kaufman on January 21st, 2013

00_lead_image_custom_firefox_button

Do you get tired of looking at the orange Firefox menu button? Firefox’s interface is completely customizable, so you can change the color, text, and other properties of the Firefox menu button to create your own custom look.

To change the appearance of the Firefox menu button, we will be editing the userChrome.css file. This file allows you to change the appearance of any part of Firefox, as well as its functionality.

01_default_firefox_button

Before diving into editing the userChrome.css file, we will install an add-on, called ChromEdit Plus, that will allow us to easily edit the file and save it in the correct format. Click the following link to go to the ChromEdit Plus webpage.

http://webdesigns.ms11.net/chromeditp.html

Click the Add to Firefox button on the page.

02_installing_chromedit_plus

The following message may display. Click Allow to continue installing the ChromEdit Plus add-on.

NOTE: Be very careful about what you allow when installing extensions and other software. If you are not sure about the product or don’t trust the company, don’t install. We tested ChromEdit Plus and found it to be safe and reliable.

03_clicking_allow

The Software Installation dialog box displays. Click Install Now, which may not be available until a countdown finishes.

NOTE: You can change the length of the countdown on the Install button, but we don’t recommend disabling it.

04_clicking_install_now

You must restart Firefox to finish the installation. Click Restart Now on the popup dialog.

05_clicking_restart_now

Once Firefox restarts, the ChromEdit Plus button is added to the right of the Address box. Click it to open the ChromEdit Plus window.

06_clicking_chromedit_plus_button

There are three tabs by default on the ChromEdit Plus window. We will be editing the userChrome.css file, which is on the first tab. If the tab is empty, copy and paste the following text onto the userChrome.css tab and click Save. This gives you a default userChrome.css file.

@namespace url(“http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul”);
#appmenu-button {
background: #orange !important;
}
#appmenu-button dropmarker:before {
content: “Firefox” !important;
color: #FFFFFF !important;
}
#appmenu-button .button-text {
display: none !important;
}

You may already have a userChrome.css file, in which case there will already be text on the userChrome.css tab. Copy all the text above except for the first line, the @namespace line, and paste it onto the tab somewhere after the @namespace line. If you want to keep what you already have, you can paste the above text at the end of the file.

IMPORTANT: Make sure all the quotes in the userChrome.css are NOT smart quotes, including the ones in the @namespace line. They should be ordinary, straight quotes. If any of them are smart quotes, the file will not affect the appearance of Firefox at all.

Click Restart to restart Firefox using the new or revised userChrome.css file.

07_creating_userchrome_file

In this example, we are going to change the background color to a dark blue and change the “Firefox” text to “How-To Geek”.

To change the background color, change the “#orange” text on the “background” line in the “#appmenu-button” section to a different color, using the hex color code, or HTML color code. For example, we chose a dark blue with the hex color code of #2C4362.

NOTE: To figure out the hex color code for a color you want, see our articles about getting hex color codes from decimal RGB colors, selecting colors from anywhere on the screen, and getting color codes in multiple formats.

To change the text on the button, change the “Firefox” text on the “content” line in the “#appmenu-button dropmarker:before” section to your desired text, such as “How-To Geek “. We added a space after the text to have more space between the text and the drop-down arrow on the button.

You can choose to change the color of the text as well by changing the “color” line in the same “#appmenu-button dropmarker:before” section. We left the text color as white (#FFFFFF), but you can change it to something like a light gray (#F2F2F2), or something like that.

Click Save and then Restart to have the changes take effect.

08_new_color_and_text

The button is now dark blue and says “How-To Geek”.

09_firefox_menu_with_new_color_and_text

You can also add a background image to the button, in addition to changing the background color. We created an image that has the How-To Geek favicon on the left and a transparent background so the dark blue background color shows through. To add a background image to your button, add the following line to the “#appmenu-button” section, changing the path in the quotes to the location of your image on your computer. Leave the “file:///” in the path.

background-image: url(“file:///C:/Users/Lori/Pictures/htg_background.png”) !important;

Click Save and Restart again.

10_adding_a_background

Now our button is complete.

11_firefox_button_with_background

You can also customize the Firefox menu button by converting it into an icon. We have also published many other tips and and tweaks for getting the most out of Firefox.

Lori Kaufman is a writer who likes to write geeky how-to articles to help make people's lives easier through the use of technology. She loves watching and reading mysteries and is an avid Doctor Who fan.

  • Published 01/21/13
More Articles You Might Like

Enter Your Email Here to Get Access for Free:

Go check your email!