为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

Navigation field size

  • 3 个回答
  • 1 人有此问题
  • 4 次查看
  • 最后回复者为 Freyr112

more options

I want to resize the navigation field, after changing the location of my icons it now streches over the full width of my screen (27") I would like the field to be around a third of the total bar width and I dont want to place any other icons/fields next to it.

The field navigation field resizes automaticly when you add/remove the default fields/Icons. If I add the search window back to the bar again you get a slider where I can change their individual width, but if I remove the search field again my navigation fields width stretches back to fill the whole screen again.

I added and tested alot of add-ons also did a google search, but no luck. I hope someone can help me with my problem.

I want to resize the navigation field, after changing the location of my icons it now streches over the full width of my screen (27") I would like the field to be around a third of the total bar width and I dont want to place any other icons/fields next to it. The field navigation field resizes automaticly when you add/remove the default fields/Icons. If I add the search window back to the bar again you get a slider where I can change their individual width, but if I remove the search field again my navigation fields width stretches back to fill the whole screen again. I added and tested alot of add-ons also did a google search, but no luck. I hope someone can help me with my problem.

被采纳的解决方案

A little bit of userChrome.css code can 'fix' the size of the URL bar container. Change the 1050 number to the size you want. That's what I happen to set the URL bar container size to.

#urlbar-container {max-width:1050px!important}

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

You can also do that by using Stylish and a UserStyle, such as this one. https://userstyles.org/styles/45548/firefox-4-fixed-url-bar-width There is an 'Install with Stylish' button to install Stylish. https://addons.mozilla.org/en-US/firefox/addon/stylish/

定位到答案原位置 👍 1

所有回复 (3)

more options

Can you attach a screenshot?

  • Use a compressed image type like PNG or JPG to save the screenshot
  • Make sure that you do not exceed the maximum size of 1 MB

Firefox would normally fit all the icons on the Navigation Toolbar even with the search bar removed. I usually move the search bar to the "3-bar" menu button drop-down list to see more of the URL and I'm not getting an overflow chevron.

Do you have any extensions that place information on the Navigation Toolbar? Does it help if you rearrange the toolbar buttons?


Start Firefox in Safe Mode to check if one of the extensions (Firefox menu button/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.

  • Switch to the DEFAULT theme: Firefox menu button/Tools > Add-ons > Appearance
  • Do NOT click the Reset button on the Safe Mode start window
more options

选择的解决方案

A little bit of userChrome.css code can 'fix' the size of the URL bar container. Change the 1050 number to the size you want. That's what I happen to set the URL bar container size to.

#urlbar-container {max-width:1050px!important}

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

You can also do that by using Stylish and a UserStyle, such as this one. https://userstyles.org/styles/45548/firefox-4-fixed-url-bar-width There is an 'Install with Stylish' button to install Stylish. https://addons.mozilla.org/en-US/firefox/addon/stylish/

more options

Thanks!

navigation field (urlbar) now changed to the size I want it to :)