搜索 | 用户支持

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

详细了解

menu bar background colour

  • 9 个回答
  • 2 人有此问题
  • 9 次查看
  • 最后回复者为 -Chris-

more options

Would anyone know the UserChrome,css code to change the colour of menu bar in attached image? I've had a look with dom inspector & got the id as toolbar-menubar

Userchrome entry have already tried, which does not seem to do anything... toolbar-menubar {background: #d3daed !important;}

Previously using a theme to change the appearance but this stopped working after FF28

Would anyone know the UserChrome,css code to change the colour of menu bar in attached image? I've had a look with dom inspector & got the id as toolbar-menubar Userchrome entry have already tried, which does not seem to do anything... toolbar-menubar {background: #d3daed !important;} Previously using a theme to change the appearance but this stopped working after FF28

被采纳的解决方案

got it CTR setting under Toolbars(3) had got add background colour (os title bar) tabs not on top enabled doh This has generated a small line below the file menu which I can live with. This brings me close enough to appearance of FF 3.6 which I liked

定位到答案原位置 👍 0

所有回复 (9)

more options

Hi -Chris- it looks like the image didn't attach. Could you attach it to a reply? Thanks.

https://support.mozilla.org/questions/1108862#question-reply

more options

Wow, I don't even recognize that browser!

On my Windows 7 Aero-based theme, the menu bar background ends immediately after the word Help, with the background color assigned to the #main-menubar element. I think whatever add-on you are using to customize the toolbar area may have its own style rules overriding the default approach.

Is it Classic Theme Restorer or something similar? In that case, please check whether its options include a way to put a transparent background behind the menu bar.

If not, try transparent as the color in your custom style rule, and style the elements up and down the hierarchy in case the rule you need to override is there:

#toolbar-menubar, #menubar-items, #main-menubar {
  background-color: transparent !important;
  background-image: none !important;
}

Can you find it?

(P.S. to post code in a reply, insert an extra space at the beginning of each new line)

more options

why thank you for the unrecognised browser comment yep classic theme restorer is installed (as is classic toolbar buttons & a few others). tweaked you code by removing transparant element so it no reads

#toolbar-menubar, #menubar-items, #main-menubar {
 background-color: #d3daed !important;
 background-image: none !important;

} which has changed the background behind file menu, exit etc. Any way to extend the colour into space to right of help menu??

由-Chris-于修改

more options

updated image

more options

Can you use DOM Inspector to discover what other element is behind the menu bar? If it's not clear, I would work from the outside in, starting with #navigator-toolbox and drilling down from there.

more options

I give it a try. Have disabled CTR & low & behold the space to right of help has turned & nice shade of grey. there is now a slight transparency gap below it

more options

选择的解决方案

got it CTR setting under Toolbars(3) had got add background colour (os title bar) tabs not on top enabled doh This has generated a small line below the file menu which I can live with. This brings me close enough to appearance of FF 3.6 which I liked

more options

For comparison attached is image of FF 3.6 vs 43

由-Chris-于修改