0

Is there a way to prevent the navigation from appearing twice on the page with modal pop-up boxes as seen in the image below?

Double Navigation

I'm aware you can change the css to display none but I would only want that option when the navigation is duplicated. The pop-up in the image is using a web part but I have also noticed this with document uploading. Is there a way to prevent the navigation tag from appearing more than once on the page?

1 Answer 1

2

There is default SharePoint CSS class available that you can use.

ms-dialogHidden is the class when you don't want particular div or any element to appear on the dialog.

So simply specify extra class to the navigation div ms-dialogHidden.

2
  • it seems to hide more consistently on the DeltaTopNavigation div ID which is attached to the ms-displayInline div class. I'm appending s4-nodlg to the tag, how should this be added to the page(s)?
    – matt
    May 8, 2015 at 14:21
  • Can you show your snippet what you done so far?
    – Pradip R.
    May 8, 2015 at 15:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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