搜索 | 用户支持

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

详细了解

Remove icon separator from modified bookmarks toolbar icon

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

more options

I using userchrome.css to remove the blue bookmark star from the toolbar, but I cant figure out how to remove the button separator (vertical line) from the bookmarks icon that remains.

To remove the star I have tried both of these, but they both leave the separator.

  1. bookmarks-menu-button toolbarbutton { display:none!important; }
  2. bookmarks-menu-button toolbarbutton { visibility:collapse !important; }

I know that the remaining icon is:

  1. bookmarks-menu-button .toolbarbutton-menubutton-dropmarker .dropmarker-icon but I cant figure out how to target the vertical line.

Thanks

I using userchrome.css to remove the blue bookmark star from the toolbar, but I cant figure out how to remove the button separator (vertical line) from the bookmarks icon that remains. To remove the star I have tried both of these, but they both leave the separator. #bookmarks-menu-button toolbarbutton { display:none!important; } #bookmarks-menu-button toolbarbutton { visibility:collapse !important; } I know that the remaining icon is: #bookmarks-menu-button .toolbarbutton-menubutton-dropmarker .dropmarker-icon but I cant figure out how to target the vertical line. Thanks

所有回复 (2)

more options

That is done via a ::before rule:

  • chrome://browser/skin/browser.css
#bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker::before {
  display: none !important;
}
more options

Perfect! Thanks