Remove horizontal separators in Firefox

07/10/2005 15:22 | Firefox, Software | 9 replies | 3369 views | RSS

This is a screenshot of a default Firefox:

lines! bah!

And this is my screenshot:

No lines! whoohoo!

It’s a very small detail, but in “my” screenshot, there are no fugly horizontal lines!

This is how:

Head over to “x:\Documents and Settings\username\Application Data\Mozilla \Firefox\Profiles\abcdefghi.default\chrome“, and edit the “userChrome.css” file in notepad. If you don’t have such a file, create one.

Add this to that userChrome.css:

/* hide seperators between toolbars */
#toolbar-menubar {
min-height: 12px !important;
padding: 0px !important;
margin: 0px !important;
border: none !important;
}
#nav-bar {
border: none !important;
padding: 0px !important;
}
#PersonalToolbar {
border: none !important;
}

Start Firefox, and those horrible horizontal lines are gone! with the wind!


  1. On 16 July 2006 at 22h35, mixxster wrote

    Does anyone know what theme is in the screenshot? It looks really nice.

  2. On 16 July 2006 at 22h44, Selder wrote

    It\’s a modded gfxOasis visual style … More screenshots can be found here ;)

    You can find the original theme somewhere @ gfxoasis, but sadly enough I don\’t have permission to distribute my modded theme …

  3. On 16 July 2006 at 22h48, mixxster wrote

    Wow thanks for the quick reply! I also love the code to remove the separators too :)

  4. On 16 July 2006 at 22h52, Selder wrote

    ;)

    I’m curious, how did you know I replied?

  5. On 16 July 2006 at 23h00, mixxster wrote

    I went back to this page after I switched comps to grab the code and install it on my other firefox :)

  6. On 18 July 2006 at 06h21, Rexeh wrote

    Hmmm, I have looked everywhere, But that code still left some borders, any idea how to remove these: http://rex.gv-hosting.com/PC_Screenshots/Borders-Plus-Separators.PNG ?

  7. On 18 July 2006 at 08h40, selder wrote

    Those lines are still there in my Firefox too, I don’t know if they are removable…

  8. On 17 June 2008 at 09h28, Andrew Guyton’s Blog | Firefox Tools Part 2 wrote

    [...] Link: weyland.be: Remove separators between toolbars [...]

  9. On 3 August 2008 at 02h42, Mikel wrote

    In Firefox 3, you also have to add
    menubox, toolbox, toolbar {
    -moz-appearance: none !important;
    border: none !important;
    }