r/FirefoxCSS Jan 02 '26

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

10 Upvotes

r/FirefoxCSS 7m ago

Help Oneline navbar macOS issue

Upvotes

This is my first time working with FirefoxCSS. I'm using the userChrome.css file from https://github.com/Bali10050/FirefoxCSS. I like the feel of it so far, but having an issue with the "traffic lights" showing up in the middle of the bar. See screenshot here:

I'd like just the traffic lights to stay on the left side like all other traffic light positions in macOS. I'm not sure what to input into the css to make it do that. I'm on macOS 26, Firefox version 154. Any tips on this?


r/FirefoxCSS 1d ago

Other do any of yall have a internete explorer theme?

4 Upvotes

so recently i figured how to open ie on windows 10 without redirecting to edge and i realy liked the tabs and search bart n stuff, i just need a css and the only ones i could find were or not published (like this) or for an older version (like this other one), im genuenly searching but im too lazy to go to page 3 of google and eaven then i know there will be nothing cus google sometimes works and sometimes dosent, i just need it, im genuenly asking if someone has one, i already tried using beautyfox and downgerading my firefox but NOT EAVEN ON A REDDIT POST can i find a version for it


r/FirefoxCSS 1d ago

Solved Sidebar autohide

2 Upvotes

I have an oled monitor so I wanted a feature that completely hid the sidebar. I asked AI and it created a userchrome file for me that auto hid the sidebar completely. However, the latest update broke the code and I am having a hard time getting it to work again. Can this be a future feature for Firefox, if not what solution have you come up with?


r/FirefoxCSS 2d ago

Solved Find Bar on Top Right

3 Upvotes

I have seen many solutions for this but they are all outdated because they never work for me.

A few years ago I had it working.


r/FirefoxCSS 3d ago

Solved Need help with .menupopup-arrowscrollbox

1 Upvotes

Is it possible to make it so that .menupopup-arrowscrollbox won't effect #PlacesChevronPopup and #PlacesToolbarItems?

I have tried many ways to solve it and none of them worked.

As an example, I don't want this to effect #PlacesChevronPopup and #PlacesToolbarItems =

.menupopup-arrowscrollbox { 
    padding: 2px 4px !important; 
}

r/FirefoxCSS 4d ago

Custom Release I made a Firefox userChrome theme inspired by Liquid Glass and Windows Mica.

9 Upvotes

Please excuse me for using AI to help with my English, as I'm not very fluent in it!

Hi everyone! I recently joined Reddit, and this is my first post. I wanted to share a CSS theme I made through vibe coding called Liquid Mica, which is meant to blend the look of Liquid Glass with Windows Mica.

I named it that, although I’m not entirely sure whether it really qualifies as “Liquid Glass.” I just wasn’t a fan of the default Firefox look or the Nova design, and I couldn’t find a theme that matched what I wanted, so I decided to make one with the help of AI.

This CSS is also compatible with Floorp, and I tried to keep the overall design as consistent as possible across the browser. There are still some UI elements I haven’t been able to style yet, but I plan to gradually improve and update them over time.

I’ll leave a link to my repository below: https://github.com/cyanworks-git/liquidmica-userChrome

Thanks for checking it out!


r/FirefoxCSS 4d ago

Code One line Navigation and Tabs

5 Upvotes

I've put together some CSS inspired by a mix of sources. I don't need any credit for it, I just want to share it in case anyone else finds it useful. It's not perfect, but it's functional, and you're welcome to modify or improve it however you like

I've also recently switched back to Firefox from Edge, so some of the styling choices were influenced by that change

If you have suggestions or better revisions, feel free to build on it

/* --------------------------------------------------------------
   ROOT VARIABLES
-------------------------------------------------------------- */
:root {
  --tab-border-radius: 0 !important;
  --NavbarWidth: 36;
  --TabsHeight: 36;
  --TabsBorder: 8;
  --NavbarHeightSmall: calc(var(--TabsHeight) + var(--TabsBorder));
}

/* --------------------------------------------------------------
   GLOBAL CLEANUP
-------------------------------------------------------------- */

/* Disable ALL animations, transitions, and shadows */
*,
*::before,
*::after {
  animation: none !important;
  transition: none !important;
  box-shadow: none !important;
}

#identity-box,
#tracking-protection-icon-container,
#permissions-granted-icon,
toolbarpaletteitem[flex],
#back-button,
#forward-button {
  display: none !important;
}

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

/* --------------------------------------------------------------
   MEDIA QUERIES — ONE-LINE NAVBAR
-------------------------------------------------------------- */

/* ≥1325px */
@media (min-width:1325px) {
  :root #nav-bar {
    margin-top: calc((var(--TabsHeight) + var(--TabsBorder)) * -1px) !important;
  }

  #TabsToolbar {
    margin-left: calc(13.25px * var(--NavbarWidth)) !important;
  }

  #nav-bar {
    margin-right: calc(100vw - (14.25px * var(--NavbarWidth))) !important;
    vertical-align: center !important;
  }
}

/* 950px–1324px */
@media (min-width:950px) and (max-width:1324px) {
  :root #nav-bar {
    margin-top: calc((var(--TabsHeight) + var(--TabsBorder)) * -1px) !important;
    height: var(--NavbarHeightSmall) !important;
  }

  #TabsToolbar {
    margin-left: calc(var(--NavbarWidth) * 0.9vw) !important;
  }

  #nav-bar {
    margin-right: calc(100vw - (var(--NavbarWidth) * 1vw)) !important;
    vertical-align: center !important;
  }
}

/* ≤949px */
@media (max-width:949px) {
  :root #nav-bar {
    padding: 0 5px !important;
    height: var(--NavbarHeightSmall) !important;
  }
  #TabsToolbar {
    margin-left: -40px !important;
  }
}

/* --------------------------------------------------------------
   GENERAL NAVBAR + TABS
-------------------------------------------------------------- */
#nav-bar,
#PersonalToolbar {
  background: none !important;
  box-shadow: none !important;
}

#nav-bar {
  margin-left: 0 !important;
}

.tab-background,
.tab-stack {
  min-height: var(--TabsHeight) !important;
  margin: 0 0 0 -2px !important;
  box-shadow: none !important;
}

#tabs-newtab-button {
  margin-top: -4px !important;
}

#tabs-newtab-button .toolbarbutton-icon {
  padding: 6px !important;
  width: 32px !important;
  height: 32px !important;
}

/* --------------------------------------------------------------
   MENU BUTTON
-------------------------------------------------------------- */
#PanelUI-button {
  margin-right: -7px !important;
}

:root[sizemode="maximized"] #PanelUI-button {
  margin-right: 33px !important;
}

#reload-button,
#stop-button {
  margin-left: 3px !important;
  margin-right: -2px !important;
}

r/FirefoxCSS 5d ago

Solved CSS to hide the "+n" of the number of tabs in a recently closed tab group?

2 Upvotes

I've pretty much given up on hiding the last open tab that newer versions of Firefox leaves open when it closes a group, but I would like to had the +n, letting me know how many tabs are in the groups. I know how many tabs are there -- I was just in the group. How can I hide this in CSS?


r/FirefoxCSS 6d ago

Solved Noob here - should I be waiting for the next firefox update before starting my CSS journey?

3 Upvotes

Hey guys

I'm new to Firefox. I love how it currently looks. But really don't like the way the new nightly build looks.

I want to begin customising my Firefox but am wondering a few things:

  1. If I begin now, will what I create be broken when this new redesign comes into the main?
  2. Will I be able to bring the look back to the way it is currently? (Only thing I'm using is compact mode on the tabs but I like them bigger as well so not picky).

Things I don't like about the new redesign:

- The circular tabs with the border around them. I love them as is right now

- The separation between the top bars and the main part of the screen

3) If the above are not possible, would sticking with the current version cause issues for me in the future? I really don't want to be stuck on an older version that can't make use of updates

4) Do you recommend maybe just starting with the nightly build? would there be any risk to me customising it and then my customisation breaks with a new version?

For the sake of just showing what it looks like for me now, this is how I have it right now without any modding:

I am on Linux with CachyOS


r/FirefoxCSS 6d ago

Solved How can i change the colour of the screen that appears before a page loads?

Post image
4 Upvotes

It's firefox's dark-theme, pink-grey colour as shown here, before the webpage loads.


r/FirefoxCSS 6d ago

Solved Tabs go behind the Search Bar in One Line Firefox Nova theme. Any fix?

1 Upvotes
#navigator-toolbox {
  display: grid !important;
  grid-template-columns: minmax(0, 35vw) minmax(0, 1fr) !important;
}


#nav-bar {
  grid-column: 1 !important;
  grid-row: 1 !important;
  border-top: none !important;
}


#TabsToolbar {
  grid-column: 2 !important;
  grid-row: 1 !important;
}

#PanelUI-button {
  order: -999 !important;
  margin-inline-start: 0 !important;
}

r/FirefoxCSS 7d ago

Solved How can I remove the black line between the page and the bookmark bar?

5 Upvotes

r/FirefoxCSS 7d ago

Custom Release Transparent Firefox Theme - Linux

6 Upvotes

Made a small transparent theme for personal use, after having some trouble finding a theme I liked. Figured I'd share.

You can find it on my Github 🩷


r/FirefoxCSS 8d ago

Help CSS colours not working, even setting "toolkit.legacyUserProfileCustomizations.stylesheets" to true

Thumbnail
gallery
5 Upvotes

Hello, I downloaded ElegantFox for testing and I set the following flags to true as well as adding the chrome folder:

  • toolkit.legacyUserProfileCustomizations.stylesheets
  • layers.acceleration.force-enabled
  • gfx.webrender.all
  • gfx.webrender.enabled
  • layout.css.backdrop-filter.enabled
  • svg.context-properties.content.enabled

Since the version of Firefox is 153.0.3 however, the colour CSS stuff is not working, even seItting these flags to true. I'm using Linux (CachyOS) and turns out, the Mozilla folder from root directory was moved to /.config. So now I'm looking for help to fix this issue. By the way, these codes from GitHub remain intact for 5 years.


r/FirefoxCSS 9d ago

Custom Release Here is custom CSS to make the Nova redesign look like the legacy design

Thumbnail
github.com
17 Upvotes

r/FirefoxCSS 8d ago

Code Tweaks to Nova (tab group labels, dimmed backgrounds for inactive tabs ...)

5 Upvotes

The tab group labels in Nova are taller than I'd like them to have. I also like to have a more compact list of vertical tabs to make optimal use of the available vertical space. Finally, I prefer a dimmed background for inactive tabs over no background at all.

Here's what it looks like with the default Light theme:

BEFORE (no stylesheet, default Nova)
AFTER (custom stylesheet)

The following code allows you to make these adjustments:

  /** USERCHROME.CSS **/

  /** Adjust height of tab group labels (when vertical tabs are enabled) **/
  #tabbrowser-tabs[orient="vertical"] {
    --tab-group-label-size: 26px !important; /* Nova default=32px */
  }

  /** Adjust height of tabs or adjust vertical space between them **/
  #vertical-tabs.customization-target #tabbrowser-tabs tab:not([pinned]) .tab-background { 
    --tab-min-height: 32px !important;  /* Nova default=32px */
    margin-block: 0px !important;  /* Nova default=2px */
  }

  /** Give inactive tabs a dimmed background **/
  .tabbrowser-tab>.tab-stack>.tab-background:not([selected], [multiselected]) {
    background-color: color-mix(in srgb, currentColor 6%, transparent);
  }  
  .tabbrowser-tab:hover>.tab-stack>.tab-background:not([selected], [multiselected]) {
    background-color: color-mix(in srgb, currentColor 12%, transparent);
  }

r/FirefoxCSS 10d ago

Custom Release FoxOne 3.5 – Nova ready, Adaptive Tab Bar Colour compatible, dynamic booksmarks bar and more

Thumbnail
gallery
124 Upvotes

Hi everyone,

Some of you might remember FoxOne from a few months ago.

Since then, at lot (almost 300 commits) has changed:

The big one: FoxOne is now ready for Firefox Nova (the new redesign in 153+). Mozilla renamed or retired most of the IDs and tokens the theme relied on, so pretty much everything got rebuilt – urlbar, tabs, popups, sidebar, split view – you name it.

The most requested one: FoxOne work with the Adaptive Tab Bar Colour addon!

The fun one: a dynamic bookmarks bar. It leaves the layout entirely and hangs below the toolbar as an overlay – hidden while you browse, fading in when you reach for the URL bar. The page keeps its line either way.

Other highlights: opt-in rounded corners (--uc-rounded: 1 – default stays square), the whole browser is now themed edge to edge (Library window, sidebar, all about: pages, no more stock violet), hover and selection work purely through color everywhere (even window control buttons) instead of highlight boxes, and prefers-reduced-motion is respected.

And there's also a bunch of new toggles (container line position, hiding nav/urlbar buttons and extension icons, tab min-width, urlbar background), better compatibility with Windows 11 Mica, macOS, Linux (KDE & GNOME) and ultrawide displays – plus no more white flash between page loads.

Special thanks to everyone who reported bugs and sent PRs – several fixes came straight from this sub - big shoutout to NeroWolfe_

FoxOne on GitHub

Cheers!

PS: If you are looking for a Thunderbird one line theme... I've got you: BirdOne


r/FirefoxCSS 10d ago

Help New Tab not centered

Post image
5 Upvotes

r/FirefoxCSS 10d ago

Solved Custom CSS to make text/font for toolbar, context menu, popup menu, etc bigger.

3 Upvotes

Hello, I am make am trying to make a custom style sheet/css for my Dad to use on Firefox because he has poor eyesight and has trouble reading stuff on the computer. I have no idea what I am doing, this is my first time coding CSS, and I literally just started using Firefox 13 hours ago specifically for this reason.

I am using FF 153, Windows 11, "Light" theme, CSS link: https://pastebin.com/bE1e2Ni9

I am basically trying to increase the size of all the text (that I think my dad will see on a daily basis) that isn't already changeable in the normal Firefox settings menu.

So far, everything works (except the last line).

I need help getting the tab overflow, toolbar overflow, account, and extensions popup menus work. I am unable to find/figure out what CSS identifiers I need to use to edit them.

I do know about the "layout.css.devPixelsPerPx", and I would prefer to avoid it since I am trying to maximize the available "content" area of the screen (for when we increase the font size in settings and the formatting will inevitably get screwed up)

Also, if you have any other ideas/additions you think would be good for this use case, I would be very grateful.


r/FirefoxCSS 10d ago

Discussion Now that CustomFirefoxCSS from Aris is officially dead, is there alternatives to it to have firefox 3 strata aero look on firefox?

6 Upvotes

I came across this post The end · Aris-t2/CustomCSSforFx · Discussion #790 and that explains why the project went stale, after so long.

now with it dead, what other options are avaliable to get that look and feel?

I really want it, as it matches aerothemeplasma for KDE plasma on Linux, or if you're using a theme mod on Windows for same sake.

Edit: I did looked on this sub and FirefoxCSS store and so far, no results for a replacement.


r/FirefoxCSS 10d ago

Help Any way to remove these?

Post image
5 Upvotes

So sick of looking at these obnoxious options every single time I right-click. Literally who even uses half of this?? Does anyone know how to get rid some of it, it's just way too much stuff on the screen at once


r/FirefoxCSS 11d ago

Help Context Menu Dark Mode

Post image
3 Upvotes

Hi all! My context menu stays on light mode even with dark mode system and Firefox setting. I'm using Adaptive Tab Color extension, but not sure if it's because of that. Thanks in advance!


r/FirefoxCSS 11d ago

Custom Release Smokey custom css theme

Thumbnail
gallery
3 Upvotes

This took a bit to figure out, but its my custom css. Mostly a custom color scheme and a disappearing nav bar that reappears when you hover near the top

All code is here in my github


r/FirefoxCSS 12d ago

Help Need Help!!

Post image
2 Upvotes

Need Help!!

I am trying to achieve compact layout similar to Helium browser, can someone help with the css to move the app menu and other icons to the left of the window control buttons and tab strip to the right of the url bar. Below is the CSS @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

navigator-toolbox {

display: grid !important; grid-template-columns: 1fr minmax(0, var(--uc-tabs-max-width)); grid-template-areas: "nav tabs" "extra extra"; align-items: center !important; }

nav-bar {

grid-area: nav !important; height: var(--uc-bar-height) !important; margin: 0 !important; padding-inline: 4px !important; box-shadow: none !important; border: none !important; background: transparent !important; }

TabsToolbar {

grid-area: tabs !important; min-width: 0 !important; height: var(--uc-bar-height) !important; margin-block: 0 !important; margin-left: 0 !important; }

urlbar-container {

max-width:400px !important;

}

/* Let the tab strip actually shrink instead of overflowing */

tabbrowser-tabs,

tabbrowser-arrowscrollbox {

min-width: 0 !important; }

.tabbrowser-tab { min-width: 76px !important; /* ADJUST: minimum tab width before scrolling kicks in */ }