Forum Response - Tabs below the URL bar

Akukho namnye oncedileyo ukuguqulela eli nqaku. Ukuba sele usazi ukuba kwenziwa njani ukulokhalayizelwa imisebenzi ye-SUMO, qalisa uguqulelo ngoku. Ukuba ufuna ukufunda ngakumbi ngendlela yokuguqulela amanqaku eSUMO, nceda uqale apha.

Firefox's style or appearance can be modified by creating a chrome folder inside your Firefox profile folder and then placing a userChrome.css file inside, that includes a custom style rule. The rules you put in the userChrome.css file will override the default styles in Firefox.

Note: Custom style rules might not work every time because of other factors (such as incompatibility with other custom style rules) beyond the Mozilla community's control. Your custom style rule might also stop working each time a new Firefox release comes out.

Here's how to modify Firefox so that tabs are shown below the address (URL) bar instead of at the top:

If your Firefox profile folder already has a chrome folder containing userChrome.css, copy the appropriate code for your Firefox version into your userChrome.css file. After saving your changes and closing the file, you should turn on your Firefox title bar or menu bar on Windows.

In Firefox 64 and below: Go to https://www.userchrome.org/what-is-userchrome-css.html and copy the CSS rules under the "Move the Tab Bar Below the Other Toolbars" example here into your userChrome.css file. (The CSS rules you copied include other suggestions as comments.)

In Firefox 69 and above: Firefx 69 and above disable userChrome.css and userContent.css by default and you need to check a pref in the Configuration Editor for Firefox. For more detail, see this page

Alternatively, you can copy the following code:

This code worked in Firefox 64 and below.

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

/* TABS on bottom */
#navigator-toolbox toolbar:not(#nav-bar):not(#toolbar-menubar) {-moz-box-ordinal-group:10}
#TabsToolbar {-moz-box-ordinal-group:1000!important}

This code works in Firefox 65 and above.

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

/* TABS on bottom */
#navigator-toolbox toolbar:not(#nav-bar):not(#toolbar-menubar) {
 -moz-box-ordinal-group: 10;
}
#TabsToolbar {
 -moz-box-ordinal-group: 1000 !important;
}

#TabsToolbar {
 display: block !important;
 position: absolute !important;
 bottom: 0 !important;
 width: 100vw !important;
}

#main-window:not([chromehidden*="toolbar"]) #navigator-toolbox {
 padding-bottom: var(--tab-min-height) !important;
}

#tabbrowser-tabs {
 width: 100vw !important;
}

#TabsToolbar #window-controls {
 display: none !important;
}

If you don't already have a userChrome.css file, follow these instructions:
(See this help page and our community member's video starting at 8:45 for more information.)

  1. Open your currently active profile folder: Type about:support in the Firefox address bar and, under the "Application Basics" section next to "Profile Folder", click Open Folder (Windows) Open Directory (Linux) or Show in Finder (Mac).
    • On Mac, a folder will open that contains your profile folder. Open the selected profile folder (it will be named something like xxxxxxxx.default for a default profile).
  2. Create a new folder named chrome inside the profile folder.
    • Create a desktop shortcut to the chrome folder, if you wish, for easier future access.
  3. Download and save this file then move it into that chrome folder:
  4. Rename the "userChrome-tabs_on_bottom.css" or userChrome-tabs_on_bottom_Fx70.css file you downloaded to userChrome.css
    • On Windows: If the .css was missing from the downloaded file name, rename the file userChrome instead (see the note below).
  5. Restart Firefox, which will discover the new userChrome file and apply the rules.

Tip: Turn on your title bar, or the menu bar on Windows, after you've made these changes.


Note for Windows users:
On Windows, file name extensions are hidden by default. If the file you downloaded was saved as "userChrome-tabs_on_bottom" without the .css extension, that means Windows is hiding file name extensions. In that case, you must rename the file userChrome so that you don't end up with a file named "userChrome.css.css" that won't work. To set Windows to show file name extensions, see How to show File Extensions in Windows 10/8/7 at thewindowsclub.com and these fileinfo.com articles for Windows 8 and Windows 10.

// These fine people helped write this article:AliceWyman, jscher2000, cor-el, Tonnes, Roland Tanglao, Wesley Branton, guigs, Joni. You can help too - find out how.

Ingaba eli nqaku beliluncedo? Nceda linda...

Volontiyela iNkxaso kaMozilla