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

搜索 | 用户支持

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

详细了解

#urlbar { visibility: collapse !important; }

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

more options

How do I set ‘#urlbar { visibility: collapse !important; }’ when ‘.searchbar-textbox[focused]’?

Thank you.

How do I set ‘#urlbar { visibility: collapse !important; }’ when ‘.searchbar-textbox[focused]’? Thank you.

所有回复 (2)

more options

Hmmm, it seems you want to hide the urlbar when you click in the search box. Would this have the effect of allocating more space to the search box? I don't know how to do that with CSS alone. The two bars do not have a parent/child relationship and are not adjacent neighbors (the stop and reload buttons are in between). Perhaps someone with a more advanced understanding of CSS selectors can think of a way.

I see you posted this question on userstyles.org as well (Firefox Search Bar Tweaks - forum.userstyles.org). That might be a good place to get an answer because it attracts advanced tweakers.

由jscher2000 - Support Volunteer于修改

more options

You have a sharp eye, and your observations are correct. :)

Thank you.