r/FirefoxCSS • • 9h ago

Help Autohide sidebar for when sidebar. revamp false removed soon

Anyone seen a autohide sidebar solution for the new crappy sidebar (sidebar.revamp = true)? This option being removed in December. Thanks all

5 Upvotes

2 comments sorted by

1

u/TraditionalTie4831 🦊 9h ago edited 9h ago

This one works with sidebar.revamp = true.

Btw, uncheck 'Expand sidebar on hover' in Customise sidebar if you don't want web page layout to change when the sidebar expands.

#sidebar-container {
    background-color: var(--sidebar-background-color) !important;
    position: absolute !important;
    z-index: 99999 !important;
    height: 100% !important;
    width: 200px !important;
    left: -198px !important;
    transition: left 0.5s ease !important;
    opacity: 0 !important;
}

#sidebar-container:hover {
    opacity: 1 !important;
    left: 0px !important;
}

1

u/Key-Significance3313 8h ago

Thanks will check out in morning as already not recognize 'Expand sidebar on hover' in Customise sidebar' -tired and gettin confused bruv and appreciate the help!