搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

shorten address bar search bar doesn't fit

  • 12 个回答
  • 1 人有此问题
  • 79 次查看
  • 最后回复者为 McCoy

more options

i just installed Firefox on a new computer and the address bar is so long that the search bar doesn't fit. I have to click the >> to use it, highly annoying, how do i shorten space address bar takes up?

i just installed Firefox on a new computer and the address bar is so long that the search bar doesn't fit. I have to click the >> to use it, highly annoying, how do i shorten space address bar takes up?

被采纳的解决方案

Ha! Not sure what I did exactly, but fooled around moving things and now the web address bar is adjustable and all is good! I think there was a "flexible space" installed on default which caused me problems.

Thanks!!!

定位到答案原位置 👍 0

所有回复 (12)

more options

Can you attach a screenshot?

You can place the mouse pointer between the location bar and the search bar in normal mode (i.e. not in customize mode) to get a resize pointer that you can drag left or right to change the relative width of both bars (the total length doesn't change). This only works if the two bar are positioned next to each other with no other elements in between them.

If this doesn't work then try to click Restore Defaults on the Customize palette page.

more options

Thanks! There is no resize pointer. The resize works just fine on my other laptop. I restored to defaults, but still no resize. Search is moved to >>

more options

GLENNCZ said

how do i shorten space address bar takes up?

Hello GLENNCZ,

When you add the search bar to the toolbar, the address bar will automatically be shortened.

See : Options => Search => "Add search bar in toolbar"

Instead of using the search bar you can also search the web right from the address bar - would that be an option for you ?

See: https://support.mozilla.org/en-US/kb/address-bar-autocomplete-firefox

more options

选择的解决方案

Ha! Not sure what I did exactly, but fooled around moving things and now the web address bar is adjustable and all is good! I think there was a "flexible space" installed on default which caused me problems.

Thanks!!!

more options

Hello,

I am glad to hear that your problem has been resolved. If you haven't already, please select the answer that solves the problem. This will help other users with similar problems find the solution.

Thank you for contacting Mozilla Support.

more options

Note that you need to place the search bar right next to the location bar to make add the resizer (#urlbar-search-splitter) in between them and to make it possible to adjust their relative sizes.

It works both ways ("search bar <-> location bar" and "location bar <-> search bar"):

 var ibefore = null;
 if (urlbar && searchbar) {
   if (urlbar.nextElementSibling == searchbar) {
     ibefore = searchbar;
   } else if (searchbar.nextElementSibling == urlbar) {
     ibefore = urlbar;
   }
 }

由cor-el于修改

more options

I have a similar problem -- the address seems to be set to occupy almost the entire toolbar, covering useful tools. I am trying to find a way to define its length so I can have access to the tools I use often. See screenshots. How can I limit its length?

more options

Hi gyaltnnh, it appears you are using rules in a userChrome.css file to modify the main toolbar. (Perhaps an evolution of the rules from https://support.mozilla.org/questions/1184828?) Possibly that is contributing to the overflow problem if Firefox computes sizes before those changes take effect.

So you will need an additional rules for the length of the address bar, perhaps setting the maximum width (max-width). Since that is very different from the original topic of this thread, could you start a new one, and share your system info there. This link will get you started:

https://support.mozilla.org/questions/new/desktop/customize

As you go through the process, scroll down past suggested articles and forum threads to continue with the form.

more options

I started the new thread as you asked, but now I can't find it to read the replies. I've searched for address bar topics, my user name, but it remains elusive. ??

more options

gyaltnnh said

I started the new thread as you asked, but now I can't find it to read the replies. I've searched for address bar topics, my user name, but it remains elusive. ??

Hello gyaltnnh,

This may be the thread :

https://support.mozilla.org/en-US/questions/1279259

When you click on your display name or avatar, it will take you to your profile - under "contributions" you'll see "4 questions"; click on them and you'll see the threads you started.

more options

@ gyaltnnh

You can also hover your logged in name and avatar at the top of a SUMO forum page and click "My Questions" in the drop-down list.

more options

@ GLENNCZ  :

I noticed that you marked my post, directed at "gyaltnnh", as Chosen Solution, which must have happened inadvertently ....

You can rectify it by clicking on the "Undo" button to the right of that post.

(and then mark the post that actually did solve the problem)