I am building a SharePoint 2010 intranet. I want to get rid of the master page heading in the popup dialog box (Upload document and display other things). How can I get rid off the master page heading for this dialog alone.


If I read your question correctly, you have changed the master page and some elements like logo or navigation or some such now appear in the modal dialogs. To hide these elements in the dialogs, you can apply the class "s4-notdlg" to each of the unwanted elements.

<div class="s4-notdlg">
|improve this answer|||||
  • In v4.master there are several s4-notdlg. I am not sure how I can hide the header inside a popupwindow (upload document dialog). As soon as you click the "add new document" link this upload document dialog appears. Do you know the css class names for the dialog popup? – Gravity M Feb 5 '13 at 14:50
  • I hope you made a copy of v4.master. You can use IE's developer tools to identify the CSS class of screen elements. What exactly in the add document dialog do you want to hide? Things YOU have added or things that are out of the box? – teylyn Feb 5 '13 at 23:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.