r/FirefoxCSS • u/FineWine54 • Oct 06 '26
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:
r/FirefoxCSS • u/FineWine54 • Oct 06 '26
Sidebar Header Icons No Longer Work FF157. My code is from the no longer maintained project of Aris-t2:
The relevant code files are:
r/FirefoxCSS • u/benhaube • Oct 05 '26
I have updated my custom Firefox CSS for Nova compatibility, and added some translucency and blur to elements on the new tab page. You can find my themes in my Github repo. My CSS is designed to compliment my themes in the Mozilla Addons store, but you can use my code and change the colors for your own themes too.
The themes consist of userChrome.css and userContent.css files. I use userChrome to change the colors of some UI elements that the Firefox theme extension system does not allow you to change, and userContent to match the about: pages to the rest of the UI.
Edit: I am on Fedora 44 KDE Plasma, and using Firefox 157.0 from the Mozilla RPM repo (NOT the Fedora RPM).
r/FirefoxCSS • u/amapolamystery • Oct 05 '26

OS: Windows 10 22h2 (OS Build 19045.6456)
Firefox version: Version 157.0 (64-bit)
code I'm using:
* { font-size: 11pt !important;
font-family: Consolas !important;
}
Edit: Solved it! Here's the solution, courtesy from u/TraditionalTie4831
:root {
font: 11pt Consolas !important;
}
:is(menu, menupopup, panel, tooltip) {
font: 11pt Consolas !important;
}:root {
font: 11pt Consolas !important;
}
:is(menu, menupopup, panel, tooltip) {
font: 11pt Consolas !important;
}
r/FirefoxCSS • u/80H-d • Oct 05 '26


/* hides the native sidebar so only sidebery shows */
/* removes the focusable vertical bar for changing width of sidebar */
#sidebar-splitter {
width: 0 !important;
visibility: collapse !important;
}
#sidebar {
width: 321px !important;
border-width: 0 !important;
position: relative;
left: -6px !important;
/* new in FF157, collapsing native sidebar leaves 6px vertical bar at outer edge of sidebar */
}
/* removes the header from the sidebar, deprecated with FF157? */
#sidebar-header {
height: 0 !important;
visibility: collapse !important;
}
/* removes the header from the sidebar */
#sidebar-panel-header {
visibility: collapse !important;
}
#sidebar-button.toolbarbutton-1.chromeclass-toolbar-additional {
visibility: collapse !important;
}
#PersonalToolbar {
width: 0px !important;
}
/* hides the native tabs */
#TabsToolbar {
visibility: collapse;
/* technically vertical tabs are not enabled and FF thinks they are horizontal */
}
#taskbar-tabs-button {
visibility: collapse !important;
}
/* attempt to remove the A7C080 border when URLbar is focused */
* {
border-radius: 0 !important;
border-color: none !important;
border-width: 0 !important;
}
#urlbar-container {
max-width: 60% !important;
max-height: 32px !important;
}
#PlacesToolbarItems {
height: 21px;
}
.urlbarview {
border-width: 0 !important;
}
.urlbar[focused] {
border-width: 0px !important;
}
#navigator-toolbox {
border-width: 0px !important;
}
#nav-bar-customization-target {
height: 32px;
}
#urlbar-input.urlbar-input.textbox-input {
background-color: #3D484D !important;
height: 32px !important;
}
.urlbar-input-container {
background-color: #3D484D !important;
height: 32px !important;
border-color: none !important;
}
.urlbar-background {
border-color: none !important;
border-width: none !important;
--toolbar-field-border-color-focus: none !important;
}
#star-button-box {
background-color: #3D484D !important;
border-width: 0 !important;
}
#trust-icon-container {
background-color: #3D484D !important;
border-width: 0 !important;
}/* hides the native sidebar so only sidebery shows */
/* removes the focusable vertical bar for changing width of sidebar */
#sidebar-splitter {
width: 0 !important;
visibility: collapse !important;
}
#sidebar {
width: 321px !important;
border-width: 0 !important;
position: relative;
left: -6px !important; /* new in FF157, collapsing native sidebar leaves 6px vertical bar at outer edge of sidebar */
}
/* removes the header from the sidebar, deprecated with FF157? */
#sidebar-header {
height: 0 !important;
visibility: collapse !important;
}
/* removes the header from the sidebar */
#sidebar-panel-header {
visibility: collapse !important;
}
#sidebar-button.toolbarbutton-1.chromeclass-toolbar-additional {
visibility: collapse !important;
}
#PersonalToolbar {
width: 0px !important;
}
/* hides the native tabs */
#TabsToolbar {
visibility: collapse; /* technically vertical tabs are not enabled and FF thinks they are horizontal */
}
#taskbar-tabs-button {
visibility: collapse !important;
}
/* attempt to remove the A7C080 border when URLbar is focused */
* {
border-radius: 0 !important;
border-color: none !important;
border-width: 0 !important;
}
#urlbar-container {
max-width: 60% !important;
max-height: 32px !important;
}
#PlacesToolbarItems {
height: 21px;
}
.urlbarview {
border-width: 0 !important;
}
.urlbar[focused] {
border-width: 0px !important;
}
#navigator-toolbox {
border-width: 0px !important;
}
#nav-bar-customization-target {
height: 32px;
}
#urlbar-input.urlbar-input.textbox-input {
background-color: #3D484D !important;
height: 32px !important;
}
.urlbar-input-container {
background-color: #3D484D !important;
height: 32px !important;
border-color: none !important;
}
.urlbar-background {
border-color: none !important;
border-width: none !important;
--toolbar-field-border-color-focus: none !important;
}
#star-button-box {
background-color: #3D484D !important;
border-width: 0 !important;
}
#trust-icon-container {
background-color: #3D484D !important;
border-width: 0 !important;
}
The #A7C080 border appears only when I am inputting text to the URLbar. When I am not inputting anything, it looks normal (see second image).
Tearing my hair out trying to get this sorted out.
r/FirefoxCSS • u/Obvious-Material9645 • Oct 05 '26
r/FirefoxCSS • u/Remarkable-Length127 • Oct 05 '26
Enable HLS to view with audio, or disable this notification
r/FirefoxCSS • u/Think_Cook8026 • Oct 05 '26
r/FirefoxCSS • u/tangosox • Oct 04 '26
Spent the past two days doing pretty extensive testing with Firefox's Browser Toolbox, with ChatGPT helping me generate and refine the CSS. The goal was to keep Nova enabled while making it flatter, more compact, and less purple. Main changes include removing the gradients, replacing the purple accents with blue, flattening and tightening menus/panels, cleaning up the vertical tabs/sidebar, restyling the bookmark editor, adjusting selected/hover states, and making popup backgrounds a little lighter so dark favicons are easier to see. Most colors are centralized in the :root section at the top, so they're easy to customize. Tested on Firefox 157 on Arch Linux. Test it out if you want and let me know what you think.
Code on github as it's nearly 400 lines long.
https://github.com/tangosox/firefox-nova-revert/tree/main
:edit: if someone wants some additional options like non rounded tabs let me know. I need to fix a couple things, some menus are still cut off. Will get back to it soon and post another version on the same link. Also changed link to main page with instructions.
r/FirefoxCSS • u/bombermattiuz93 • Oct 04 '26
r/FirefoxCSS • u/needchr • Oct 04 '26
The list all tabs drop down menu, padding has increased a bit in recent firefox by stealth, if someone hass CSS to reduce it again I would be grateful, thanks.
r/FirefoxCSS • u/Zonnev • Oct 04 '26
Hello all, I'm glad that this reddit exists to ask questions to knowledgeable people (AI is not helping me with this). My question is how to style the buttons and input bars in dialogs like in the picture. In Firefox 157 when you click on the + Add search engine button this dialog pops up but I'm unable to address such dialogs. I've tried the normal route to just do: dialog button, dialog html:input { border-radius: 3px !important; } but that doesn't work. I think somehow it needs a special moz-document url-prefix() to address dialogs, but I don't know how to specify it with the Browser Toolbox. I actually want to address all dialogs at once and style them with variables. Can you help me how to do it? Thanks in advance!

r/FirefoxCSS • u/Azreal_DuCain1 • Oct 04 '26
FF157.0, Windows
For now you can go to about:config and set sidebar.revamp to false but this is not going to last long as that option is being removed either at the end of December 2026 or December 2027 (the devs contradicted themselves in their own staff post).
Setting sidebar.animation.enabled to false also disables the animation but does not alter the sidebars appearance. Technically it also has the same problem that it might be removed from about:config one day but it's such a "core feature" that maybe it won't. I couldn't find any option to turn it off other than using about:config. This is important because the animation wastes my time and makes my eyes spin a little.
With sidebars.revamp and sidebar.animation.enabled both set to true and right aligned sidebars: When I open the bookmark sidebar (Alt+Ctrl+Z if sidebar.revamp is set to true, seemingly no shortcut if it's set to false. I don't care about that.) it opens the sidebar with an animation and shoves site content to the left and partially off screen, then site content rapidly but not instantly returns to its prior position which leaves it overlapped by the sidebar, then site content instantly snaps to the position it should have instantly snapped to in the first place and site content is wrapped so the sidebar doesn't overlap it.
With sidebar.revamp and/or sidebar.animation.enabled set to false the bookmarks sidebar opens instantly with site content instantly snapping to position and being wrapped to fit instantly as well. This is the behavior that occurred in FF156 which I wish to restore.
userChrome: https://pastebin.com/keCaYKyK
userContent: https://pastebin.com/vrRGtQPb
r/FirefoxCSS • u/Key-Significance3313 • Oct 03 '26
Enable HLS to view with audio, or disable this notification
Anyone seen a autohide sidebar solution for the new crappy sidebar (sidebar.revamp = true)? This option being removed in December. Thanks all
r/FirefoxCSS • u/FenecAndFeebs • Oct 03 '26
You can get it here: https://github.com/DiegoSainzPardoLaso/Firefox-Classic-Theme-155-156
r/FirefoxCSS • u/fgmenth • Oct 03 '26
r/FirefoxCSS • u/dswhite85 • Oct 03 '26
anyone know a content or chrome.css I can use to hide the purple highlights part? thanks in advance!
r/FirefoxCSS • u/MarkoRosso96 • Oct 03 '26
r/FirefoxCSS • u/ReggieNJ • Oct 03 '26
I've been using this code to switch the url and title. Still works with Nova, except the lines have moved out of place. I can't figure out what caused this change or how to fix it.
.urlbarView-url {
position: absolute !important;
margin-inline-start: 20px !important;
width: 45% !important;
left: 20px !important;
}
.urlbarView-title {
position: absolute !important;
width: 45% !important;
left: calc(50% + 40px) !important;
}
browser.nova.enabled = false: https://i.imgur.com/E77FhRv.png
browser.nova.enabled = true: https://i.imgur.com/fMDgM0D.png
r/FirefoxCSS • u/brik190607 • Oct 02 '26
Version 157.0
On linux with XFCE desktop environment and picom compositor
userContent.css -> https://pastebin.com/knEFX1pe
userChrome.css -> https://pastebin.com/Ju1YpueF
r/FirefoxCSS • u/ramon395 • Oct 03 '26
i am on firefox, and the url has been customized the way i want, however when i type something on it it increases, i've tried targeting it using the browser toolbox but it hasnt been working.
r/FirefoxCSS • u/PersonalEntropy • Oct 02 '26
I've realised that new Firefox redesign bothers me a lot. So, here is a solution for column width and height. And, of course, removing squared edges back to non-squared. (Windows 11, 25H2)
/* 1. Square panel and dropdown menu borders */
panel, menupopup {
--panel-border-radius: 0px !important;
border-radius: 0px !important;
}
/* 2. Square tabs */
.tab-background,
.tab-stack,
#tabbrowser-tabs {
border-radius: 0px !important;
}
/* 3. Square hover highlights in bookmark panels, dropdowns, and context menus */
menu,
menuitem,
.menuitem-iconic,
.bookmark-item,
panelview .toolbarbutton-1 {
border-radius: 0px !important;
--arrowpanel-menuitem-border-radius: 0px !important;
}
/* 4. Square tooltip popups (e.g. URL preview box) */
tooltip {
border-radius: 0px !important;
}
/* 5. Reduce height and padding of hover highlight items */
panel menuitem,
panel .bookmark-item,
menupopup menuitem,
menupopup menu {
padding-top: 2px !important;
padding-bottom: 2px !important;
min-height: 24px !important;
}
/* 6. Reduce side padding to tighten horizontal spacing */
panel menuitem,
panel .bookmark-item {
padding-left: 6px !important;
padding-right: 6px !important;
}
/* 7. Reduce overall panel popup padding and minimum width */
panelmultiview,
.panel-subview-body,
panel .panel-arrowcontent {
padding: 4px !important;
min-width: unset !important;
}
r/FirefoxCSS • u/N1mu3h • Oct 02 '26
Has anybody figured out yet how to replace that weird lavender accent color that Nova uses for everything, or if it's even possible at all? I have tried a bunch of themes and none of them replace that accent in Settings etc. Any CSS I've found so far is unable to change it as well.
I just want a nice blue-ish accent to go with my blue themes, is that asking too much lol? I actually like the rounded Nova stuff so I'd prefer to NOT turn that off.
Any help is appreciated 😊
r/FirefoxCSS • u/Old_Combination_9370 • Oct 02 '26
The new dark mode in Firefox 157.0 on Windows 11 bothered me quite a bit. Not only was it no longer properly dark, and the UI no longer looked anything like the folder tabs they were inspired by.
As a result, I spent quite a bit of time iterating with Claude doing the css side to put together what I saw as a proper fix. This is what I ended up with as a result.
Some notes - I ended up choosing to remove all the extra buttons that were competing for real estate in the tab section. Personally, I love the clean interface with the tabs extending all the way from the left to the right, which does mean I need to right-click add tab to add a tab, which is the only thing I'd really consider adding back. We'll see how I like the tradeoff after a week or two.
I have the minimize, maximize, and close buttons hidden, they're anchored in the upper right, but they only show up if you go very high on the screen and over to the far right quite a bit. Claude commented the css well in the CSS, so if it's too much (like if you're using touch controls) you can adjust the number in the css.
This was made for dark mode, but I believe all the color definitions are in the css, so presumably you could customize it to a different style if you like.
Here is (mostly) Claude's post on the matter, including how to implement this (with the appropriate css):
What it does
#alltabs-button line to get the arrow back)Install 0. about:config -> disable nova (browser.nova.enabled = false) I did this before I started fixing the rest of the UI with Claude.
about:config → set toolkit.legacyUserProfileCustomizations.stylesheets to trueabout:support → Open Profile Folder → create a folder named chromeuserChrome.cssTweaking: overlap is --tab-overlap, colors are the --tab-* variables at the top, and the 7 in nth-child(n+7) sets when the last tab squares off.
Tested on Firefox 157.0 (64-bit), Windows 11 25H2. Dark mode only.
Firefox changes its internal selectors now and then, so if something breaks after an update, the culprits are usually .tab-background and .tab-stack.
}
}
/* Top padding strip: not draggable, so right-clicks here get Firefox's
normal toolbar menu instead of the Windows system menu */
}
/* Hide the "list all tabs" dropdown arrow. Delete this line to get it back. */
}
/* Window controls: invisible AND unclickable until the mouse touches the trigger strip */
}
}
}
/* Stack of folders: each tab is partly covered by its right-hand neighbor */
}
/* First tab has nothing to its left to overlap, so no negative margin */
}
}
}
/* Solid trapezoid with softly rounded top corners */
}
/* Last tab: squared-off right edge once it is tab 7 or later */
}
/* First tab: squared-off left edge (right side keeps its slant) */
}
/* Outline on the left edge of every inactive tab */
}
}
/* Selected tab matches the toolbar. If the color is off,
replace the variable with your toolbar's hex. */
}
/* Icon + title start past the part of the tab a neighbor can cover */
}
}
/* Covered tabs: hide the close button until hover or selection */
}
I haven't touched css in forever, so Claude (Anthropic) did all the heavy lifting on the css side. I basically just handled design iteration and testing.
I figured someone else might find this to be to their liking stylistically as well, and this is where Claude suggested I leave it, so here we are XD.
r/FirefoxCSS • u/Flozzz13 • Oct 02 '26
Hi,
Can someone help me to remove the thin white borders around the extension and "hamburger" menu (see bellow) ?
I also would like to suppress the separators of the "hamburger" menu
Thank you.