Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Buscar en Ayuda

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How can I make the search bar wider?

  • 3 respuestas
  • 4 tienen este problema
  • 4 visitas
  • Última respuesta de the-edmeister

more options

My search and address box are on the same line. But the search bar is just long enough to write in maybe three words.I'd like to extend it. Taking space from the address bar is fine because 'it' takes up half the browser length. Thanks.

This happened

Every time Firefox opened

== I placed theaddress and search bar on the same line as the menu.

My search and address box are on the same line. But the search bar is just long enough to write in maybe three words.I'd like to extend it. Taking space from the address bar is fine because 'it' takes up half the browser length. Thanks. == This happened == Every time Firefox opened == I placed theaddress and search bar on the same line as the menu.

Todas las respuestas (3)

more options

You lose the resize feature for the URL bar / Search bar when you move those items off the Navigation bar.
You'll have to use some userChrome.css code to make the Search container larger.

http://kb.mozillazine.org/UserChrome.css

See how this works for you - the 400px is the width, change to suit your needs.

#searchbar, .searchbar-textbox {
 max-width: 400px !important;
}

Modificadas por cor-el el

more options

'You lose the resize feature for the URL bar / Search bar when you move those...'

Oh so that's why. That explains it. I just moved it back to the Bookmark bar.

Thank you edmeister.

more options

If the location bar and search bar are next to each other then you can place the mouse between the location bar and search bar to resize both bars. That only work if there is nothing between the two.

You can set a min-width for the search bar to force a larger search bar:

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#search-container {
 min-width: 200px!important;
}


Add the code to userChrome.css below the @namespace line. See http://kb.mozillazine.org/Editing_configuration#How_to_edit_configuration_files

Modificadas por cor-el el