How do I change and set the width of the Address and Search box
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;}
All Replies (3)
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
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.
CH2OH5:
Using the resizer is what is shown in "Method 1" of my post above.