Home

Hiding Elements in a SharePoint Dialog Box

Elements added to a SharePoint 2010 master page may show up in every dialog box. Learn how to remove them from dialog boxes.

Have you tried to add elements to a SharePoint 2010 master page and then noticed they also appear in every dialog box?

Microsoft recommends you do something like this to hide the element in the dialog box:

<div class="s4-notdlg">[your text]</div>

where s4-notdlg is what hides the elements and its child elements in the dialog box.

If you're having trouble with this, or if you have several custom elements scattered throughout your master page, check out Heather Solomon's alternative method.

Let's Connect

Keep Reading

Add Custom CSS to SharePoint 2010 without Master Page

Here's how you can add custom styles to a specific site collection in SharePoint 2010.

Dec 02, 2012

Hide Recently Modified Panel in SharePoint 2010

The recently modified panel is annoying. Here's how you hide it.

Dec 02, 2012

CAML Query Builder for SharePoint 2010

A useful tool for building CAML queries in Microsoft SharePoint 2010.

Nov 30, 2012