I edited master page, added some custom blocks.

My problem is when opening the web site I see my footer and header blocks.

How can I hide these blocks when "Working on it" block appears?


Can I handle JavaScript event or should I apply SharePoint CSS classes like "s4-notdlg" to hide them?


Applying the CSS class s4-notdlg to all HTML elements of your custom masterpage you want to hide should do the trick.

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.