Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I still needed this script, because simply hiding using, #sidebar { display:none !important; } , the content width will be shrinked too small, when the window width is reduced. (Eg. I put my monitor in portrait mode, and maximise the window)
i edited the width of the #mainbar to 50%. My requirement is to keep the default content width setting. But when I reduce the size of the window width, it should still to stay the same width.