Remove / Hide the Status Bar in SharePoint 2010
Have you ever wanted to remove or hide the Status Bar and/or Status Messages in your SharePoint 2010 sites? There are plenty of times when you might need the status bar, but on some sites, in particular public facing internet sites, you may want those always hidden.
As an example, if you make certain modifications to a page in the advanced editor, you may receive a status message similar to “The current page has been customized from its template.” Sure, there are ways that you can programmatically override this, but sometimes it may be easiest to just hide the message.
How to Hide the SharePoint 2010 Status Bar and Status Messages
- Open your site in SharePoint Designer 2010
- Open your default masterpage found in All Files->_catalogs->masterpage, often times this will be v4.master
- Look for the following lines of html:
<div id=”s4-statusbarcontainer” class=”s4-notdlg”>
<div id=”pageStatusBar” class=”s4-status-s1″>
- Just above this block of code, add the following:
display: none !important;
- Save and publish the masterpage.
You may want to add the simple style update to a custom style sheet that you have created. You do not need to add this style to your masterpage, I just did for ease of implementation.
Second, please be aware that this code will always hide your Status Bar and Status Messages on the SharePoint site in question. This may not always be a good idea, but that is up to you.
Any questions? Please ask.