i am able to hide the
#sidenavbox element in SharePoint using the below piece of code:
document.getElementById("sideNavBox").style.display = "block";
but once i hide it, its showing white space in the place where the
#sidenavbox div element was present.
Unfortunately i am not able to see a way to hide the white space. Can someone help on the same?