r/FirefoxCSS • • Jan 02 '26

BEFORE POSTING, PLEASE READ THE RULES ON THE SIDEBAR - ESPECIALLY RULE #2. ➡️➡️➡️➡️➡️

10 Upvotes

r/FirefoxCSS • • 25m ago

Custom Release NOËL — a deep burgundy and champagne-gold Christmas theme for Firefox

Post image
1 Upvotes

NOËL — experimenting with a burgundy and gold Firefox UI

I wanted to experiment with a darker Christmas-inspired browser aesthetic, so I put together this custom userChrome.css theme.

The main design challenge was getting the decorative artwork and toolbar background to blend together without making the browser controls feel visually cluttered.

A few things I worked on:

  • Layered toolbar backgrounds using CSS.
  • Custom positioning and sizing for decorative artwork.
  • Transparent toolbar elements to preserve the background.
  • Gold borders and darker surfaces for the tabs.
  • Coordinated text and URL-bar colours.

The CSS and required assets are available here:

https://github.com/sudo-apt-Omarion/noel-firefox-css

I'd particularly appreciate feedback on the toolbar styling and how the decorative elements integrate with the browser UI.

Built for Firefox using userChrome.css.

Available for download here https://selar.com/0999973472


r/FirefoxCSS • • 6h ago

Custom Release WaveFox Nova (Release)

Post image
1 Upvotes

The style is fully prepared for the Nova interface. All key features from the previous version have been retained. Options are available for various tab shapes, menu icons, transparency, and the adjustment of rounded corners.

WaveFox / WaveFox Nova


r/FirefoxCSS • • 2d ago

Code Going retro

Thumbnail
gallery
12 Upvotes

This is my initial version of the FF3 Strata theme in the style of XP. Also working on a userContent.css for a Media Player like look for YouTube Music. The code is still in the early stages, so expect bugs if trying it out.

FF theme Github

userContent.css Github for YouTube Music


r/FirefoxCSS • • 2d ago

Solved How are we supposed to know the names of unfocusable HTML elements in the firefox Browser Toolbox

3 Upvotes

I know we can bring up the browser toolbox with Ctrl+Shift+Alt+i. You can pick an element in the firefox ui using the button on the top left, but as far as I can tell it's not possible to pick HTML elements in popups that go away without mouse focus, like context menus and the "urlbarview" megabar. I have spent many frustrating hours looking for the names of these elements and their properties before. Nonetheless I see people writing CSS for these elements. How am I supposed to inspect them?


r/FirefoxCSS • • 2d ago

Solved here's a line spanning the full window width right below the tab bar, how to remove this line color <

Post image
3 Upvotes

r/FirefoxCSS • • 4d ago

Solved How to remove vertical tab bar top and bottom overflow shadow in Firefox v161

Post image
5 Upvotes

How do you remove the top and bottom overflow shadows(see image) on the vertical tab bar in Firefox v161?

These two previous solutions doesn't work:

spacer[part="overflow-start-indicator"],
spacer[part="overflow-end-indicator"] {
    display: none !important;
}

.

#tabbrowser-arrowscrollbox[orient="vertical"] {
    /* When placed here, it hides top and bottom overflow shadow on vertical tabs bar */
    --toolbox-background-color: transparent !important;
}

In v161, it seems like it's these variables you need to change, but no matter where I place them, it doesn't work. Even when I copy the code that the variables are in and change the variables value there, it doesn't work.

--tab-overflow-fade-start
--tab-overflow-fade-end

I have found these two crude solutions.

This one makes scrolling very slow:

#tabbrowser-arrowscrollbox[orient="vertical"] {
    --tab-height-with-margin-padding: 0px !important;
}

This one doesn't seem to break anything, but it feels like it's not a good solution:

#tabbrowser-arrowscrollbox[orient="vertical"] {
    --tab-margin-inline-inner: -1px !important;
}

r/FirefoxCSS • • 4d ago

Code Fix sidebar staying open if the cursor leaves window from the left side

21 Upvotes
/* Fix cursor leaving from left side not collapsing sidebar */
#sidebar-container {
  margin-left: 1px;
}

Tested on Arch Linux FF 161.0

In case if someone here comes from web search, here's how to use it. type about:profiles in address bar. Click "Open Directory" in "Root Directory". If there are multiple profiles, find one with "Default Profile: yes"

In the folder that you opened find chrome/userChrome.css if it doesn't exist create it. Paste the code above into the file. Restart Firefox. Done!

Made this for myself, sharing in case someone finds this useful


r/FirefoxCSS • • 4d ago

Solved How do you hide recent bookmarks, but not recent tabs?

0 Upvotes

I just installed Firefox after frustrations with Google Chrome and have been learning the basics of it. The "recent bookmarks" list in the bookmarks option in the hamburger menu was distracting, so I wanted to remove it. After some searching, I found a very helpful thread from this subreddit with the answer.

However, adding the code from the aforementioned thread also removes the "recent history" under the history option in the same menu. While I don't want to see the recent bookmarks, I do want to see the recent history. Is there a snippet of code that will remove the former while keeping the latter?


r/FirefoxCSS • • 5d ago

Solved Need help changing this.

Post image
3 Upvotes

I need help on how to change this button purple background color.

Thanks in advance.


r/FirefoxCSS • • 6d ago

Code how to restore firefox's old design without about:config

Thumbnail
reddit.com
8 Upvotes

r/FirefoxCSS • • 6d ago

Help Only show close button on tabs when hovering with the mouse

2 Upvotes

Before one of the recent updates I had:

.tabbrowser-tab:not([pinned]) .tab-close-button {display: none !important;}
.tabbrowser-tab:not([pinned]):hover .tab-close-button {display: flex !important;}

Now it doesn't seem to work. Now the close button will only show if I click on the tab for like a split second.

Thanks.


r/FirefoxCSS • • 7d ago

Custom Release Firefox all UI's in one Github page

Thumbnail
github.com
31 Upvotes

i have made a Github page if people want to make there firefox look older but want it to stay firefox


r/FirefoxCSS • • 6d ago

Solved How to center tabs?

3 Upvotes

Does anyone know how to center tabs so that they are all in the middle of the screen rather than left, i saw a 4 year old post and tried to copy it but it doesnt seem to have done anything..


r/FirefoxCSS • • 7d ago

Code Slightly less Nova'd compact one-line theme CSS

Thumbnail
gallery
5 Upvotes
  • Works great with all the new themes except Default. Especially nice with the new OLED theme.
  • For use with compact density.
  • Made corners not be so very round, but you can customize corner roundness to be even less by changing the border radius in the Nova Rounding Adjustments section at the bottom of the CSS.
/* ==========================================================
   Combine Nav Bar and Tabs Bar
   ========================================================== */
#navigator-toolbox {
  display: grid !important;
  grid-template-columns: minmax(0, 35vw) minmax(0, 1fr) !important;
}

#nav-bar,
#nav-bar-customization-target,
#TabsToolbar {
  min-width: 0 !important;
}

#urlbar-container {
  flex-shrink: 1 !important;
  min-width: 0 !important;
}

#nav-bar {
  grid-column: 1 !important;
  grid-row: 1 !important;
  border-top: none !important;
  padding-block: 0 !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  :root[uidensity="compact"] & {
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  }
}

#TabsToolbar {
  grid-column: 2 !important;
  grid-row: 1 !important;
  padding-block: 0 !important;
  align-items: center !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  :root[uidensity="compact"] & {
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  }
}

/* ==========================================================
   Move Menu Button To The Left
   ========================================================== */
#PanelUI-button {
  order: -999 !important;
  margin-inline-start: 0 !important;
}

#nav-bar-customization-target {
  & > :is(toolbarbutton, toolbaritem):first-child,
  & > toolbarpaletteitem:first-child > :is(toolbarbutton, toolbaritem) {
    padding-inline-start: 0px !important;
  }
}

/* ==========================================================
   Compact Bar Height
   ========================================================== */
:root {
  --toolbarbutton-padding-inner-compact: 4px !important;
  --toolbarbutton-padding-inner-narrow: 4px !important;
}

toolbarbutton {
:root[uidensity="compact"] & {
  padding-block: 0 !important;
  max-height: 40px !important;
}
}

.tab-content {
:root[uidensity="compact"] & {
  padding-block: 0 !important;
}
}

#tabbrowser-tabs,
.tabbrowser-tab,
.tab-stack {
min-height: 28px !important;
:root[uidensity="compact"] & {
min-height: 26px !important;
}
}

.tab-background {
height: 28px !important;
min-height: 28px !important;
max-height: 28px !important;
:root[uidensity="compact"] & {
height: 26px !important;
min-height: 26px !important;
max-height: 26px !important;
}
}

.tabbrowser-tab[fadein]:not([style^="max-width"]) {
  max-width: 10vw !important;
}

#urlbar {
:root[uidensity="compact"] & {
  --urlbar-height: 26px !important;
}
}

/* ==========================================================
   Minimalism Stuff
   ========================================================== */

/* Remove Search Switcher */
.searchmode-switcher {
  visibility: collapse !important;
}

/* Hide Extension Name in the identity area unless hovered for half a second (updated for Fx80) */
#identity-box.extensionPage #identity-icon-labels,
#identity-box.extensionPage #identity-icon-label {
  visibility: collapse !important;
  transition: visibility 250ms ease-in-out;
}
#identity-box.extensionPage:hover #identity-icon-labels,
#identity-box.extensionPage:hover #identity-icon-label {
  visibility: visible !important;
  transition: visibility 250ms ease-in-out 500ms;
}

/* Hide Back and Forward buttons when disabled */
#back-button[disabled="true"],
#forward-button[disabled="true"] {
    display: none !important;
}

/* ==========================================================
   System Buttons Fix
   ========================================================== */
.titlebar-buttonbox-container {
  margin-left: 21px !important;
  height: 100% !important;
}

.titlebar-spacer {
  display: none !important;
}

.titlebar-button {
  padding-right: 10px !important;
  padding-left: 10px !important;
}

/* ==========================================================
   Some Fancy Tab Stuff
   ========================================================== */
.tabbrowser-tab:not([selected]) .tab-icon-image,
.tabbrowser-tab:not([selected]) .tab-text,
.tabbrowser-tab:not([selected]) .tab-throbber[busy] {
  opacity: 0.5 !important;
}

.tabbrowser-tab:hover .tab-icon-image,
.tabbrowser-tab:hover .tab-text {
  opacity: 1.0 !important;
}

.tabbrowser-tab .tab-close-button {
  visibility: hidden !important;
}

.tabbrowser-tab:hover .tab-close-button {
  visibility: visible !important;
}

/* ==========================================================
   Remove White Line
   ========================================================== */

.browserContainer {
  border: 0px !important;
}

/* ==========================================================
   Theme Tweaks
   ========================================================== */

:root {
--toolbarbutton-icon-fill-attention: var(--toolbarbutton-icon-fill) !important;
--tab-background-color-hover: transparent !important;
--toolbar-background-color: var(--toolbox-background-color) !important;
--toolbox-background-color-inactive: var(--toolbox-background-color) !important;
--urlbarview-background-color-selected: var(--tab-background-color-selected) !important;
--tab-border-color-selected: transparent !important;
--tab-background-color-selected: var(--button-background-color-ghost-hover) !important;
--panel-border-radius: var(--border-radius-large) !important;
--panel-menuitem-border-radius: var(--border-radius-large) !important;
}

.urlbar .urlbar-background {
--urlbar-background-border-focused: var(--toolbox-background-color) !important;
--urlbar-background-border: var(--toolbox-background-color) !important;
--urlbar-background-color: var(--toolbox-background-color) !important;
--urlbar-background-color-focus: var(--toolbox-background-color) !important;
}

.urlbarView-background {
background-color: var(--toolbox-background-color) !important;
}

/* Remove tab bar background */
:root:not([theme-image-in-toolbox]) body, :root[theme-image-in-toolbox] #navigator-toolbox {
    background-image: none !important;
}

/* Nova Rounding Adjustments */
:root {
--border-radius-xsmall: 7px !important; 
--border-radius-small: 7px !important; 
--border-radius-medium: 7px !important; 
--border-radius-large: 7px !important; 
--border-radius-xlarge: 7px !important; 
--urlbar-inner-border-radius: 7px !important;
}

r/FirefoxCSS • • 7d ago

Solved Check Out the New Version 2 of FirefoxCSS Store, It's Faster and Easier to Use

12 Upvotes

Huge shoutout to all the contributors who made this happen! We've rolled out version 2 of the FirefoxCSS Store and it’s looking great. You can check it out at this link: https://firefoxcss-store.github.io/.

I really appreciate all the support and enthusiasm you've shown for this project. I’m excited to see what new themes and features we can add moving forward. This update is all for you!


r/FirefoxCSS • • 7d ago

Custom Release remake of Photon Australis To work on modern Firefox 157

2 Upvotes

based on wavefox available on Github

https://github.com/bbqbacon/Photon-Australis-Updated


r/FirefoxCSS • • 8d ago

Other top themes in the sub this week: deNova? deNada!

6 Upvotes

ty to the code wizards


r/FirefoxCSS • • 8d ago

Custom Release Argon - a minimal Helium inspired theme with my own twist

Post image
47 Upvotes

I really liked Helium browser's minimal and modern theme but I didnt want to leave firefox so I built this.

My starting idea was to copy Helium's theme 1:1 but then I decided to add my own twists and add a few things from my past firefox themes. I implemented clean tab switching, popup and fullscreen animations plus a few small QOL things like a cleaned up extension tray and some refreshed icons.
This theme is still in it's first stages so you can expect some issues here and there so pls help me out and report them. I would also love to hear honest feedback.

You can try out the theme here with its one line install script: Argon for firefox

Note: I highly recommend you use the theme in addition of my own firefox compact addon that was built to be universal but has custom features specifically for Argon


r/FirefoxCSS • • 8d ago

Solved Is it possible to remove the lines around the vertical sidebar and the URL bar (when it's selected)?

3 Upvotes

https://imgur.com/mFu6miY

I mean the lines circled here. I've tried the options found in this thread, which turned the red line around the URL bar blue but didn't affect the vertical sidebar at all.

I'd previously hid them by disabling Nova, but apparently that's not going to be an option soon :(


r/FirefoxCSS • • 10d ago

Help Any CSS to get rid of Nova?

Thumbnail reddit.com
18 Upvotes

r/FirefoxCSS • • 11d ago

Code I hate the new rounded tabs in Firefox so I used CSS to make them square again

Thumbnail
reddit.com
27 Upvotes

r/FirefoxCSS • • 13d ago

Custom Release Firefox Proton Anti-Nova (Chrome folder)

28 Upvotes

A faithful CSS theme and icon pack that restores Firefox's classic Proton interface and iconography on modern Firefox builds where the Nova redesign is enabled by default.

Github : https://github.com/JibsouX/firefox-proton-anti-nova-theme


r/FirefoxCSS • • 13d ago

Solved I changed a few font settings, now this:

Thumbnail
reddit.com
1 Upvotes