Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Learn More

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

How can I make the search bar wider?

  • 3 risposte
  • 4 hanno questo problema
  • 5 visualizzazioni
  • Ultima risposta di 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.

Tutte le risposte (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;
}

Modificato da cor-el il

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

Modificato da cor-el il