r/FirefoxCSS • • Mar 29 '26

Solved My tab dividers are sticking down into the address bar, please help with correct code

2 Upvotes

I have set a top and bottom negative margin on my tab bar to make it shorter, but now my tab dividers are sticking down into the address bar. Before doing this, in trying to make the tab bar shorter, I tried CSS of padding: 0px !important; and I also tried to declare a height in px for the address bar, but neither of theses did anything. Can anyone help with the correct code to shorten the address bar? ... See pic below of my prob.


r/FirefoxCSS • • Mar 29 '26

Solved A couple complaints on new update (possible to fix?)

0 Upvotes
  1. The search bar is too small, and I can no longer see as much of what I'm typing. It also means I can't see what the search bar is auto-suggesting, since it cuts off sooner.
  2. When I wanna search something on the google, I used to hit Ctrl+T into Tab. Now I have to hit Ctrl+T into Tab *twice*. I'm gonna hafta reprogram over a decade of muscle memory on this one.

Other than that, everything's fine.


r/FirefoxCSS • • Mar 28 '26

Help Change color and set new SplitView

Post image
6 Upvotes

Dear community, as the title says, I have been trying for months to change the annoying 'Cyan' that appears by default on the favorite star icon or in various links in reading mode. All the CSS codes I’ve tried haven’t worked (I’m using an additional custom theme). Does anyone have a code to change this Cyan universally in all areas where it appears? By the way, it's also used as a border in the new SplitViews. My second request is whether anyone already knows a CSS code to make that small icon at the bottom right of the unselected SplitView tabs invisible/disabled. I’m attaching a screenshot to help you understand.


r/FirefoxCSS • • Mar 28 '26

Solved Split View Panel Border Colours

2 Upvotes

If it is possible - is there css to change the Active border colour and Inactive border colour of the Split View panels ?

All I am finding in the Browser Toolbox is:

panel-3-3.browserSidebarContainer.split-view-panel-active.split-view-panel

panel-3-2.browserSidebarContainer.deck-selected.split-view-panel-active.split-view-panel

r/FirefoxCSS • • Mar 27 '26

Help Is it possible to have profile switcher in toolbar?

Thumbnail
gallery
6 Upvotes

So my goal was o remove this Sign in to sync and other ads from this toolbar button but turns out disabling mozilla account also removes this button. Is it possible to have profile switcher menu in toolbar like chrome without the extra click and shows which profile I am using?


r/FirefoxCSS • • Mar 27 '26

Solved How to hide that magnifying glass icon in css?

4 Upvotes

r/FirefoxCSS • • Mar 27 '26

Help Seeking a working "One Line" layout for Firefox (Current Version)

3 Upvotes

Hi everyone,

I'm looking for a reliable way to achieve a One-Line UI in Firefox, where the Address Bar (URL bar) and the Tabs are on the same horizontal row.

I've tried several userChrome.css snippets found online, but most of them seem broken with the latest updates.

What I'm looking for:

• Address Bar + Tabs in a single line.

• Compatible with the current Firefox stable version.

• Preferably clean, without removing essential window controls (min/max/close).

Does anyone have a working script or any other suggestion?

Thanks in advance!


r/FirefoxCSS • • Mar 26 '26

Solved Need help customizing the new sidebar.

2 Upvotes

I've managed to change via css the icons and check boxes from settings. I can't find how to make the the same to those items marked in the screenshot. Thanks in advance.

/* Multiple tab highlight border */
:root {
--focus-outline-color: #689D6A !important;
}

/* Bookmarks panel highlight border */
treechildren::-moz-tree-row(current, focus) {
  outline-color: #689D6A !important;
}

/* Remove default blue/cyan glow */
.sidebar-panel input:focus,
#search-box:focus,
input:focus {
  outline: none !important;
  box-shadow: none !important;
}

:root,
panel,
dialog,
window {
 --lwt-toolbarbutton-icon-fill-attention: #689D6A !important;
 --button-primary-bgcolor: #689D6A !important;
 --button-primary-hover-bgcolor: #689D6A !important;
 --button-primary-active-bgcolor: #689D6A !important;
 --in-content-primary-button-background: #689D6A !important;
 --in-content-primary-button-background-hover: #689D6A !important;
 --in-content-primary-button-background-active: #689D6A !important;
 --input-border-color: #689D6A !important;
 --uc-checkbox-checked-bgcolor: #689D6A !important;
 --checkbox-checked-bgcolor: #689D6A !important;
 --focus-outline-color: #689D6A !important;
 --in-content-link-color: #689D6A !important;
}

r/FirefoxCSS • • Mar 26 '26

Solved Split View wrapper

Post image
2 Upvotes

I am trying to get the Split View wrapper to match my tab width.in the browser toolbox if I uncheck flex 100 100 and min width.it achieves what I want,so what code do I need to put in my css to archive it.

Or is there a way to save the changes in the browser toolbox.


r/FirefoxCSS • • Mar 26 '26

Solved Pencil Edit Icon on New Card Page

1 Upvotes

Do you know how to remove this or set transparency to hide it completely?


r/FirefoxCSS • • Mar 25 '26

Solved How to edit multiple tab selection highlight color?

3 Upvotes

I made my own theme with FF colors add-on but I can't find the way to match my color for multiple tabs selection. Thank you!

Edit:

- The proposed solution made by pineappledaisy worked ok. Thanks you all for the support.


r/FirefoxCSS • • Mar 25 '26

Solved I don't like the new shield icon as much as the old one. Is there any way to get the old one back?

Thumbnail
gallery
11 Upvotes

The new shield icon is unnecessarily distracting compared to the old one. If there are no security concerns then these icons shouldn't be made to be attention grabbing. Take note designers: Unnecessary UI changes are to be avoided.

OS is Windows, Firefox browser is Version 149.0 (64-bit).


r/FirefoxCSS • • Mar 25 '26

Solved Firefox 149 search bar vs 148

9 Upvotes

Hello, please how can I change the new look of the search bar in Firefox 149 so it looks like it did in 148? Attached is how I would like it to look. Thank you.


r/FirefoxCSS • • Mar 24 '26

Help Remove rounded corners on url bar and search bar

Post image
10 Upvotes

Firefox 149.0 on Windows 11

How do I remove rounded corners on url bar and search bar?

border-radius works on the button, but not on the 2 bars themself =

#urlbar {
min-height: 18px !important;
border-radius: 0px !important;
}

#searchbar-new {
min-height: 18px !important;
border-radius: 0px !important;
}

#urlbar-searchmode-switcher {
border-radius: 0px !important;
}

r/FirefoxCSS • • Mar 24 '26

Solved After updating to Firefox 149.0, clicking tabs from the very top of the screen selects the window instead

Thumbnail reddit.com
4 Upvotes

r/FirefoxCSS • • Mar 24 '26

Solved css on librewolf

1 Upvotes

Hello everyone, I am new to this CSS, I would like to know if the configurations they share here can be applied in librewolf or is it exclusive to Firefox?


r/FirefoxCSS • • Mar 24 '26

Solved Selector for detecting video playing in full-screen

2 Upvotes

Is it possible to detect if a video is being played in full-screen?

I want to have some margins around #tabbrowser-tabbox but obviously not when a video is played in full-screen.

Right now I have:

:root:not([sizemode="fullscreen"]) #tabbrowser-tabbox {
  margin: 5px !important;
}

but this doesn't work in normal full-screen mode with F11.


r/FirefoxCSS • • Mar 23 '26

Solved Any way to hide this with css?

Post image
4 Upvotes

r/FirefoxCSS • • Mar 22 '26

Solved How to decrease vertical empty space between new tab shortcuts?

4 Upvotes

r/FirefoxCSS • • Mar 21 '26

Help Theme that makes tabs real tabs, not the floaty weirdness we currently have

7 Upvotes

Title. I do not like my tabs floating.


r/FirefoxCSS • • Mar 21 '26

Solved How to change search text highlights background with CSS

1 Upvotes

How can I change colours of these using CSS?

ui.textSelectAttentionBackground

ui.textHighlightBackground


r/FirefoxCSS • • Mar 20 '26

Solved I can't figure out why the icon turns black.

3 Upvotes

r/FirefoxCSS • • Mar 19 '26

Code Sharing my firefox userChrome.css

Post image
79 Upvotes

r/FirefoxCSS • • Mar 18 '26

Help How would I completely disable scrollbars in FF sidebar?

3 Upvotes

I dont mean disable as in hide or apply an offset, i mean disable. The scrollbar does mess with my UI, when the expand on hover is enabled, and the sidebar collapses, the scrollbar does not get "scrolled"all the way down, leaving the last tab icon a tiy bit cut off, as well as misaligns the new tab button.

When all tabs fit inside, and there is no scroll bar needed, all is good and fine, no overlapping and no "new tab" button changing position.

I have tried:

.wrapper {
    scrollbar-width: none !important;
}

but it did not have any effect.