Change Window Titlebar Color?

User Help for Mozilla Firefox
Post Reply
tanstaafl_bh
Posts: 602
Joined: July 29th, 2003, 7:49 am
Contact:

Change Window Titlebar Color?

Post by tanstaafl_bh »

Does anyone know if there is a way to change the window titlebar color in Firefox 4 that will override the OS settings?
User avatar
squeaky
Posts: 355
Joined: August 14th, 2005, 11:07 am
Location: Sunny Suffolk
Contact:

Re: Change Window Titlebar Color?

Post by squeaky »

You might be able to do it with one of the user chrome css options.

See: http://www.mozilla.org/unix/customizing.html
Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us." Calvin & Hobbes
tanstaafl_bh
Posts: 602
Joined: July 29th, 2003, 7:49 am
Contact:

Re: Change Window Titlebar Color?

Post by tanstaafl_bh »

Didn't see any options for it there... but thanks for trying...
afaIk
Guest

Re: Change Window Titlebar Color?

Post by afaIk »

it's a Windows function, not FF
tanstaafl_bh
Posts: 602
Joined: July 29th, 2003, 7:49 am
Contact:

Re: Change Window Titlebar Color?

Post by tanstaafl_bh »

I know ... hence my specific question about how to OVERRIDE the OS specific setting.

I've read threads hinting that it is either possible, or *would* be possible with 4.x, hence my question here.
oss
Guest

Re: Change Window Titlebar Color?

Post by oss »

ok, so how about overriding the old OS setting with a new OS setting?
tanstaafl_bh
Posts: 602
Joined: July 29th, 2003, 7:49 am
Contact:

Re: Change Window Titlebar Color?

Post by tanstaafl_bh »

How about you stop being an ass. If you cannot answer the question, stfu...
oss
Guest

Re: Change Window Titlebar Color?

Post by oss »

never mind, I think I understand what you're trying to do
Anonymosity
Posts: 8779
Joined: May 7th, 2007, 12:07 pm

Re: Change Window Titlebar Color?

Post by Anonymosity »

If you are using the Classic desktop rather than the XP desktop, You could do that from the Display applet. If you right-click the desktop, choose Properties, Appearance tab, Advanced button, you can then click on the title bar in the image and change the colours. If you are using the XP desktop, you need to get another XP theme to change the titlebar colour. You also have to patch the uxthemes.dll file. I found that there is a patch program available to make that easy, called UXTheme Multi-patcher.
tanstaafl_bh
Posts: 602
Joined: July 29th, 2003, 7:49 am
Contact:

Re: Change Window Titlebar Color?

Post by tanstaafl_bh »

<sigh>

I have already done that. I don't *want* to have to do that.

My question was about how to do this DIRECTLY IN FIREFOX - presumably by adding a few magic lines to userChrome.css (so it can easily be replicated to multiple computers)...
cabcop
Guest

Re: Change Window Titlebar Color?

Post by cabcop »

Post Posted February 27th, 2011, 3:52 am
Hi,
maybe it's not exactly what you want , but it helped me, found a userChrome hack here:
viewtopic.php?f=23&t=1973567&start=30




Code: Select all
window, page, dialog, wizard, prefwindow {
background-color: -moz-Dialog !important; }



Code: Select all
#toolbar-menubar {
-moz-appearance: -moz-win-browsertabbar-toolbox !important;
}


Thanks guys. I used the above codes in my userChrome.css file and my menus are now readable again. =D>
User avatar
squeaky
Posts: 355
Joined: August 14th, 2005, 11:07 am
Location: Sunny Suffolk
Contact:

Re: Change Window Titlebar Color?

Post by squeaky »

afaIk wrote:it's a Windows function, not FF


I know :)

But since you can hack the title wording, and I recently saw an extension that will put buttons and the address bar in there - I figured there might be a hack in user css that would change the colours.
Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us." Calvin & Hobbes
Anonymosity
Posts: 8779
Joined: May 7th, 2007, 12:07 pm

Re: Change Window Titlebar Color?

Post by Anonymosity »

How would that work, given the fact that it is the operating system that controls the colour of the title bar?
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: Change Window Titlebar Color?

Post by patrickjdempsey »

Anonymosity wrote:How would that work, given the fact that it is the operating system that controls the colour of the title bar?


In Firefox 4.0 Firefox in Windows draws the titlebar when the menu is hidden and it CAN be modified. It won't do you much good to style the #titlbar element because it is given instructions in Firefox to use OS styling, which would have to be overridden. The most direct way is to modify the #titlebar-content element instead:

#titlebar-content { background-color: blue !important;}

You can use the following reference to find alternative colors:
https://developer.mozilla.org/en/CSS/color_value

If you use the ActiveCaption color for instance, you would end up with something similar to the Windows 95 flat color titlebar.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
User avatar
squeaky
Posts: 355
Joined: August 14th, 2005, 11:07 am
Location: Sunny Suffolk
Contact:

Re: Change Window Titlebar Color?

Post by squeaky »

Thank you :-)

I didn't actually know how to do this, as you can clearly see, but I was pretty sure that there was a way to manipulate at least some of the title bar properties.
Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us." Calvin & Hobbes
Post Reply