HOW TO HIDE RIBBON
HOW TO HIDE RIBBON IN SHAREPOINT 2010 ?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Manesh GolekarPosted Sep 18, 2014, 2:03 AM
For hiding some elements refer below link :
http://blog.sharepointexperience.com/2014/06/hide-from-sharepoint-ribbon/
Laxman VyavaharePosted Oct 17, 2014, 9:10 AM
if user having read only permission then sharepoint itself hides ribbon from user.
or
if u want more customization then reffer my article regarding how to find user group by jquery and then u can hide ribben by fallowing lines of code.
function HideRibbon() {
$('#s4-ribbonrow').hide();
var newHeight = $(document).height();
if ($.browser.msie)
{
newHeight = newHeight - 3;
}
$('#s4-workspace').height(newHeight);
}
and in order to completely hide ribbon just call HideRibbon() function. Or... add the following style to page:
document.getElementById("s4-ribbonrow").style.display = "none";
Md AkmalPosted Sep 19, 2014, 3:06 PM
plz provide code with details b/c i have no idea about jQuery...
thank for reply....
Md AkmalPosted Sep 18, 2014, 1:24 AM
HOW TO HIDE RIBBON IN SHAREPOINT 2010 for particular user ?
and HOW TO HIDE SOME RIBBON ELEMENT IN SHAREPOINT IN SHAREPOINT 2010
PLZ REPLY ASSON AS POSSIBLE......
THANKS YOUR REPLY...
Manesh GolekarPosted Sep 16, 2014, 8:56 PM
Add below CSS to Master page or on page where you want to hide ribbon
.s4-ribbonrow
{
display: none;
}