MozillaZine

Change Window Titlebar Color?

User Help for Mozilla Firefox
tanstaafl_bh
 
Posts: 591
Joined: July 29th, 2003, 7:49 am

Post Posted March 31st, 2011, 4:12 am

Does anyone know if there is a way to change the window titlebar color in Firefox 4 that will override the OS settings?

squeaky

User avatar
 
Posts: 355
Joined: August 14th, 2005, 11:07 am
Location: Sunny Suffolk

Post Posted March 31st, 2011, 6:30 am

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: 591
Joined: July 29th, 2003, 7:49 am

Post Posted March 31st, 2011, 10:19 am

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

afaIk
Guest
 

Post Posted March 31st, 2011, 10:57 am

it's a Windows function, not FF

tanstaafl_bh
 
Posts: 591
Joined: July 29th, 2003, 7:49 am

Post Posted March 31st, 2011, 11:19 am

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
 

Post Posted March 31st, 2011, 11:26 am

ok, so how about overriding the old OS setting with a new OS setting?

tanstaafl_bh
 
Posts: 591
Joined: July 29th, 2003, 7:49 am

Post Posted March 31st, 2011, 11:30 am

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

oss
Guest
 

Post Posted March 31st, 2011, 11:30 am

never mind, I think I understand what you're trying to do

Anonymosity
 
Posts: 8136
Joined: May 7th, 2007, 12:07 pm

Post Posted March 31st, 2011, 12:36 pm

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: 591
Joined: July 29th, 2003, 7:49 am

Post Posted March 31st, 2011, 1:26 pm

<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
 

Post Posted March 31st, 2011, 2:23 pm

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>

squeaky

User avatar
 
Posts: 355
Joined: August 14th, 2005, 11:07 am
Location: Sunny Suffolk

Post Posted March 31st, 2011, 3:02 pm

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: 8136
Joined: May 7th, 2007, 12:07 pm

Post Posted April 1st, 2011, 9:43 pm

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

patrickjdempsey

User avatar
 
Posts: 22308
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC

Post Posted April 2nd, 2011, 2:58 am

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/

squeaky

User avatar
 
Posts: 355
Joined: August 14th, 2005, 11:07 am
Location: Sunny Suffolk

Post Posted April 2nd, 2011, 10:06 am

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

Return to Firefox Support


Who is online

Users browsing this forum: Bing [Bot] and 18 guests