
How can I change the colour of the text in the active tab?
Thanks to the help received here and in the Reddit group I've been able to transfer almost all of my old colour and layout tweaks to a new intallation of Firefox (v133) on a new PC (running Windows 10). There's one thing that I haven't succeeded with though: I'd like to change the colour of the text in a tab when that tab becomes the active one.
This is the coding I'm using to change the tab's background colour when it's selected:
- TabsToolbar .tab-background[selected]{
background: white !important; }
This works perfectly. But when I tried adding the line
color: black !important;
It had no effect. I'd be grateful for any thoughts. Many thanks.
Ausgewählte Lösung
I've now been given a solution:
/* tab label */ [hash]TabsToolbar .tabbrowser-tab:is([selected],[multiselected]) label { color: black !important; }
This works very well.
Diese Antwort im Kontext lesen 👍 0Alle Antworten (2)
Sorry, for some reason I can't edit my previous post. The line that starts 1. TabsToolbar... Should actually begin with a hash: [hash]Tabs Toolbar.... Apologies.
Ausgewählte Lösung
I've now been given a solution:
/* tab label */ [hash]TabsToolbar .tabbrowser-tab:is([selected],[multiselected]) label { color: black !important; }
This works very well.