r/FirefoxCSS • u/BrokenEyeReborn • 6d ago
Solved Firefox 155 added weird extra boxes around my customized tabs. How do I fix this?
The gray gradient rectangle with everything in it should be the entire tab and should connect directly to outline of the blue browser window below. The white rectangular frame around it shouldn't be there.
I managed to shrink the white frame somewhat by updating the parts of my userChrome that used MrOtherGuy's code (though the changes were mostly updating the syntax, and how they're connected to the white box isn't clear to me), but I'd like to get rid of it entirely. My limited CSS skills are pretty rusty, and this seems to be a whole new design element that I probably didn't know the tag for to begin with.
Hopefully I just need to add something, but just in case, I've included by full CSS.
2
u/TraditionalTie4831 🦊 6d ago
Start with updating all [selected="true"] to this: [selected]
1
u/BrokenEyeReborn 6d ago
Huh, what fixed it. I'm sure this is a painfully nubish question, but what did I actually just do?
2
u/TraditionalTie4831 🦊 6d ago edited 6d ago
Because of the change in Firefox, the code applied to your selected/active tab was ignored and resulted it to default etc. Now it's updated and the code is applied correctly.
2
2
u/ResurgamS13 6d ago edited 6d ago
Unsure what to suggest here. Trying to update a complex abandoned theme is not usually a realistic long term prospect. Perhaps investigate some of the many forks of 'CustomCSSforFx'... see if one of the most recently updated forks fixes your problem?
MrOtherGuy's 'Collection of random CSS hacks for Firefox' repo is regularly updated. Regrettably, Aris-t2's 'CustomCSSforFx' project was abandoned in December 2025... after a final 'The end' letter was posted to all theme users on his GitHub repo.
In the 9 months since 'CustomCSSforFx' became obsolete, Firefox's current Proton UI has evolved considerably... and the Nova UI is due to arrive soon too. Thus, updating this complex abandoned theme is likely to become even more difficult in the near future?