Skip to main content

Hide custom header and footer in windows for sharepoint 2010/13

Hi All,


I gone through this and wanted to share.


I had a master page with custom header and footer and everytime when I try to "add item" or "add document" to either list or document library, it shows the header and footer and it was so annaoying and after doing some research I found a piece of class from sharpoint need to be added to avoid them.


In master page, where you add the header or footer you need to close the div with class="ms-dialogHidden noindex" , it will hide from the windows.

Comments