In SharePoint 2010 the new ribbon bar (or Fluent UI as they call it) is great when you need to Author a site, but looks rather ugly and “SharePointish” for internet facing sites. After all who wants to see this at the top of their pages?
As such I often have to remove it from the UI. I have found that the best way to do this is through the CSS style sheets and a little SPSecurityTrimmedControl magic in the site Master Page. Here are the steps to quickly and easily remove this bar for people who are not authoring on the site:
- Open your SharePoint master page
- Locate this line:<div id="s4-ribbonrow" class="s4-pr s4-ribbonrowhidetitle">
- Change it to:<div id="s4-ribbonrow" class="s4-pr s4-ribbonrowhidetitle" style="display:none">
- Now find the end of the “s4-ribbonrow” tag and add following block right after it:
- Save the new master page and publish
And as simple as that, the ribbon bar is now hidden from all visitors who don’t have the ability to edit pages, including those who are coming in Anonymously.
Need to remember this stuff: http://t.co/TWyCm9US #sharepoint #sharepoint2010 #RibbonUI
Thanks this is straightforward and elegant, much better than other solutions I’ve researched.
Oh my goodness! Impressive article dude! Thank you so much, However I am encountering difficulties with your RSS.
I don’t know why I cannot subscribe to it. Is there anyone else getting similar RSS problems? Anyone who knows the answer can you kindly respond? Thanx!!
Feeds go through feedburner, not too familiar with the ins and outs of it, but RSS fead can be found here: http://feeds.feedburner.com/ExperiencesOfAnInlandEmpireDad
Appears to work for my account (hate that phrase, but oh so true), what troubles are you experiencing?
Hi there! I would like to offer you a big thumbs up for your great info you have here on this post.
It’s really a nice and helpful piece of info. I am glad that you simply shared this helpful info with us. Please stay us informed like this. Thanks for sharing.