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

Hide Recently Modified Panel in SharePoint 2010

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

Dec 02, 2012

How to Run JavaScript on SharePoint Pages

Here's a cool trick to run JavaScript on SharePoint 2010 wiki pages without editing the master page.

Dec 01, 2012

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