Customize the orange button in Firefox 4


Firefox 4’s release is not even a day old and bloggers are already giving tips to customize it. One of the things that are hated, is the Firefox orange button, to me it looks nice, but some people may find it annoying, so, here is an easy way to at least change the color of it.

button

First, we need to go to our profile folder, that is (inside Firefox) “Help > Troubleshooting information > Open containing folder”. Inside of it it’s the “Chrome” folder, and inside of it the file “userChrome-example.css”, we copy, paste and rename it to “userChrome.css”.

Now open it, and inside of it look for the line:

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

Right after that paste this:

#appmenu-button-container{
position: fixed !important;
}

#appmenu-button{
padding: 3px 18px 3px 18px !important;
margin-top:0px !important;
background-color: #f5f5f5 !important;
}

#navigator-toolbox[tabsontop="true"] #TabsToolbar{
padding-left: 95px !important;
}

#navigator-toolbox[tabsontop="true"] #TabsToolbar{
padding-left: 105px !important;
padding-top:1px !important;
padding-right:98px !important;
}

In case you don’t understand a lot of this, here are some tips:

- margin-top => space between the button and the title bar

- background-color => color of the button

- padding => distance between the text of the button and the border of it

The others commands are only standards, but if you want you can modify it and check the things you manage to do. Also, if you already know about css, be my guest and start playing with it.

Via | Download Squad

Other items that may interest you

Author Info:

A 20 year old computer engineer... Here's a clear explanation => http://bit.ly/6Pk550
July 7, 2010 | Autor: TatoSgr | Firefox
Etiquetas: , , , , , , ,

5 Comments

  1. sut0 says:

    I want to quote your post in my blog. It can?
    And you et an account on Twitter?

  2. Mario says:

    Hi there
     
    I follow the steps carefully, and it is quite straight forward, but it does nothing to me.
    I run FF 4.0.1 on XP. I modified the CSS, restart browser, even restart computer. Nothing, remains orange.
    I carefully checked if I didn’t miss a tag or bracket while pasting the CSS, all looks good.
     
    Am I missing something? Is there any place I should activate it or something to force FF to use the preference from CSS file ?
    Please advice.
     
    regards
     
    Mario

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>