MozillaZine

Changing background tab strip ?

Announce and Discuss the Latest Theme and Extension Releases.
Yogi_Bear
 
Posts: 6
Joined: September 19th, 2014, 9:45 pm

Post Posted July 30th, 2017, 6:28 pm

I installed a persona, I want to know how can I change the background strip color which lies behind and and all tabs ?

marty60
 
Posts: 470
Joined: March 21st, 2012, 7:09 am

Post Posted July 31st, 2017, 1:14 pm

You can use css through userChrome.css if you want to override the background color of the tabbar.

For example, to make it black you add this:

#TabsToolbar {
background-color: black !important;
}

Frank Lion

User avatar
 
Posts: 19526
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom

Post Posted July 31st, 2017, 6:09 pm

marty60 wrote:You can use css through userChrome.css if you want to override the background color of the tabbar.

For example, to make it black you add this:

#TabsToolbar {
background-color: black !important;
}

Don't forget that a persona is not a background-color, but a background-image and also that it is the latter that overlays the former. That is the long way of saying this is a surer method : -

Code: Select all
#TabsToolbar {
     background-image: none !important;
     background-color: black !important; }


It doesn't end there - personas are often/always given semi-transparent tabs so that the persona shows through them and that the colour of the text on a persona generally is automatically selected by the lightness/darkness of the persona in use. Thus if it's a light persona, it'll show dark text on the tabs and they will also have to be coded for, if you're now going for a dark tab background.
Metal Lion latest SeaMonkey & Thunderbird Themes - Sea Monkey and Silver Sea Monkey
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)

marty60
 
Posts: 470
Joined: March 21st, 2012, 7:09 am

Post Posted August 1st, 2017, 6:28 am

Thanks Frank, I was thinking of it as overriding a theme.

Return to Extension/Theme Releases


Who is online

Users browsing this forum: No registered users and 5 guests