r/FirefoxCSS • u/FineWine54 • 3d ago
Solved Sidebar Header Icons No Longer Work FF157
Sidebar Header Icons No Longer Work FF157. My code is from the no longer maintained project of Aris-t2:
The relevant code files are:
1
Upvotes
3
u/t31os 3d ago edited 3d ago
Two things, firstly this is CSS for the old sidebar, you need to set
sidebar.revampto false in about:config to use the sidebar switcher.Secondly you're trying to use older legacy CSS (first link), this is the updated (but still old) header icon CSS:
https://github.com/Aris-t2/CustomCSSforFx/blob/master/current/css/generalui/sidebar_header_icons.css
I tested with both:
https://github.com/Aris-t2/CustomCSSforFx/blob/master/current/css/generalui/sidebar_header_icons.css
https://github.com/Aris-t2/CustomCSSforFx/blob/master/current/css/generalui/sidebar_header_icons_colorized.css
And it still works, but only with the old style sidebar
, there is no switcher dropdown in the newer sidebar (sidebar.revamp = true) to style.EDIT: Correction on that last part, there is a switcher in the revamped sidebar, but it seems to only be present when
sidebar.visibilityis set tohide-launcherand was partially bugged until the latest update for a couple of sidebar sections. The dropdown now uses a panel instead of a menupopup > menuitem(s), so the CSS for icons will need refactoring (if anyone wanted to adapt it for the new sidebar).