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.
SharePoint 2010 Status Bar
 How to Hide the SharePoint 2010 Status Bar and Status Messages

  1. Open your site in SharePoint Designer 2010
  2. Open your default masterpage found in All Files->_catalogs->masterpage, often times this will be v4.master
  3. Look for the following lines of html:
    <div class=”s4-notdlg”>
        <div id=”s4-statusbarcontainer” class=”s4-notdlg”>
            <div id=”pageStatusBar” class=”s4-status-s1″>
            </div>
        </div>
    </div>
  4. Just above this block of code, add the following:
     <style type=”text/css”>
          #pageStatusBar {
               display: none !important;
          }
     </style>
  5. Save and publish the masterpage.

Notes:
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.

3 thoughts on “Remove / Hide the Status Bar in SharePoint 2010

  1. […] UsersBy Eric Overfield – April 12, 2011Posted in: SharePoint Back in January I wrote an article on how to hide the Status bar for all users using css. What if you just want to hide the status bar […]

  2. Renato Lyke January 24, 2015

    Hi,
    How could i hide the status bar from all users except for admins and contributors to the site.
    Regards,
    Ren.

    1. Eric Overfield February 19, 2015

      I suggest using <SharePoint:SPSecurityTrimmedControl /> control such as:
      <style>
      #s4-statusbarcontainer {display: none;}
      </style>
      <SharePoint:SPSecurityTrimmedControl runat=”server” AuthenticationRestrictions=”AuthenticatedUsersOnly” EmitDiv=”true”>
      <style>
      #s4-statusbarcontainer {display: block;}
      </style>
      </SharePoint:SPSecurityTrimmedControl>
      You may need to change the AuthenticationRestrictions property to match your needs. I would not suggest placing the #s4-statusbarcontainer in a securitytrimmedcontrol, rather just hiding it or showing it using css based on access.

Leave a Comment

Your email address will not be published. Required fields are marked *

Enter Code *

Filed Under

Related

Anyone who has 'attended' a physical meeting by 'conferencing in' in knows the frustrations & limitations that come from not being in the room. You're the voice in the ceiling & not equally represented in the conversation.

This is no longer acceptable.

http://ow.ly/EmFK50Fqqhu

Today, we find ourselves facing the “hybrid work paradox.”

Employees are keen to retain flexibility. At the same time, human-to-human collaboration remains important.

To marry the best of both, hone your strategy, spaces, & tech to suit employee needs.

http://ow.ly/JtVO50Fn8qX

It's the day of the show, y'all!

Join the #PixelMillWebinars this morning at 11am PST for a live panel discussion about what the #digitalworkspace looks like for a #hybrid team, & how #Microsoft365 can empower your users no matter where they're working.

http://ow.ly/q81i50FhITy

IT'S WEBINAR WEEK!

Join the #PixelMillWebinars this Thursday as we welcome key players from @OrchestrySoft, @KieferConsult, and @AP_Mortgage to discuss the hybrid work paradox and how #Microsoft365 can empower your users no matter where they're working.

http://ow.ly/2uc550FfqO6

We've all been itching to get "back to normal," but what does that mean? Are we missing out on valuable lessons learned by trying to return to something that perhaps wasn't working before?

Join us next week for a live panel discussion on the new normal.

http://ow.ly/CfsU50FdQXv

Subscribe to PixelMill's
E-news

* indicates required

Let's Talk Digital
Workspaces Today

Get In Touch