@Klaas - It might be an issue of precedence. This works if I put it near the top of my stylesheet, but not when I put it in a snippet or at the bottom. I don’t have time to debug, but there’s something farther down that’s breaking it.
.workspace-ribbon.mod-left {width:0px;}
You could similarly add .mod-right to hide the other one, too.
If you want to reclaim the space it was occupying, include this:
@Erisred: many thanks !! For the left that works fine.
For the right it hides but does not reclaim the space, so I am left with a blank strip on the right.
I tried this 1st at the top of the theme’s style sheet, and that is what I found. Out of curiosity I tried it with a snippet, and it works exactly the same way !!
I am happy about that because I don’t like to make changes to a theme’s style sheet.
So, it’s just the right that looks a bit funny now.
@Klaas - here’s the full snippet that will remove both:
/* hide the left sidebar, and reclaim the space it was occupying */
.workspace-ribbon.mod-left {width:0px;}
.workspace-split.mod-left-split {margin-left: 0px;}
/* hide the right sidebar, and reclaim the space it was occupying */
.workspace-ribbon.mod-right {width:0px;}
.workspace-split.mod-right-split {margin-right: 0px;}