For a more integrated look, you can use userChrome.css to hide native Firefox UI elements.
Setup Steps
- Enable stylesheets: Open
about:config and set toolkit.legacyUserProfileCustomizations.stylesheets to true. - Locate Profile Directory: Go to
Firefox Menu > Help > Troubleshooting Information > Profile Directory. - Create Chrome Folder: Inside your profile directory, create a folder named
chrome. - Create CSS File: Create a file named
userChrome.css inside the chrome folder. - Apply Styles: Paste the configuration CSS into the file and restart Firefox.
Example userChrome.css Configuration
This snippet hides the sidebar header and the horizontal native tabs toolbar when Sidebery is active (using the titlepreface="." trigger).
/**
* Hide sidebar-panel-header (sidebar.revamp: true)
*/
#sidebar-panel-header {
display: none;
}
/**
* Dynamic styles
*/
#main-window[titlepreface="."] {
/* Hide horizontal native tabs toolbar */
#TabsToolbar > * {
display: none !important;
}
/* Hide top window border */
#nav-bar {
border-color: transparent !important;
}
/* Hide new Firefox sidebar, restyle addon's sidebar */
#sidebar-main, #sidebar-container, #sidebar-launcher-splitter {
display: none !important;
}
#sidebar-box {
padding: 0 !important;
}
#sidebar-box #sidebar {
box-shadow: none !important;
border: none !important;
outline: none !important;
border-radius: 0 !important;
}
#sidebar-splitter {
--splitter-width: 3px !important;
min-width: var(--splitter-width) !important;
width: var(--splitter-width) !important;
padding: 0 !important;
margin: 0 calc(-1*var(--splitter-width) + 1px) 0 0 !important;
border: 0 !important;
opacity: 0 !important;
}
/* Hide sidebar header (sidebar.revamp: false) */
#sidebar-header {
display: none !important;
}
}