Search Support

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 do I change and set the width of the Address and Search box

  • 3 replies
  • 1 has this problem
  • 11 views
  • Last reply by TheOldFox

more options

Currently, the Address box crowds out the Search. I really don't need the Address box as much as I need the Search box. I recall a method of setting them using a routine in the Chrome folder but I sure can't find it. Can you help?

Thank

Ed

Currently, the Address box crowds out the Search. I really don't need the Address box as much as I need the Search box. I recall a method of setting them using a routine in the Chrome folder but I sure can't find it. Can you help? Thank Ed

Chosen solution

Method 1:
Using the resizer on the interface. See - https://support.mozilla.org/en-US/kb/search-bar-easily-choose-your-search-engine#w_moving-or-removing-the-search-bar (second bullet item; done without entering customize mode. By default, Location and Search bars will occupy all available space on the Navigation toolbar in a 2 to 1 ratio, respectively.)

Method 2:
Add code to userChrome.css below the @namespace line.

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

See - http://kb.mozillazine.org/Editing_configuration#How_to_edit_configuration_files
Adjust the width to your needs, no space before px

  • urlbar-container {max-width: 400px !important;}
  • search-container {max-width: 200px !important;}
Read this answer in context 👍 0

All Replies (3)

more options

Chosen Solution

Method 1:
Using the resizer on the interface. See - https://support.mozilla.org/en-US/kb/search-bar-easily-choose-your-search-engine#w_moving-or-removing-the-search-bar (second bullet item; done without entering customize mode. By default, Location and Search bars will occupy all available space on the Navigation toolbar in a 2 to 1 ratio, respectively.)

Method 2:
Add code to userChrome.css below the @namespace line.

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

See - http://kb.mozillazine.org/Editing_configuration#How_to_edit_configuration_files
Adjust the width to your needs, no space before px

  • urlbar-container {max-width: 400px !important;}
  • search-container {max-width: 200px !important;}

Modified by TheOldFox

more options

You can place the mouse pointer between the location bar and the search bar to get a resizer that you can drag left to make the location bar smaller.

more options

CH2OH5:

Using the resizer is what is shown in "Method 1" of my post above.