SharePoint Designers

All about Branding & Customizations in SharePoint

Hi Guys

I wanted to know how do you stop your custom banner branding infiltrating the pop up dialog modal windows when your are for instance changing permissions on resources or adding pages or libraries, what happens is the dialog window appears with the my custom banner branding at the top but the rest is just a blank white box with no content or controls to edit/change anything. I have been told tom add the class "s4-notdlg" to stop this from happening but where exactly do you apply this in the master page to stop this from happening?? Ideally I would like to add apply this class on a global level so that all modal dialog windows display correctly regardless of what page you are on.

Views: 23

Reply to This

Replies to This Discussion

This happens when the system page uses your branded master page. You can also use the .ms-dialog class to remove images, colors, padding or unwanted items in the popup boxes. For example:  .ms-dialog body {background-image: none; text-align: left;}  The s4-notdlg only works on the header area, left nav and footer, where you dont want those items to show. The ms-dialog will fix the bg and any of the padding or custom changes you have added to your content area.

 

Hope that helps.

Heather

My response would have been the same as Heathers. The .ms-dialog and s4-notdg are the two classes that you can use to control the look and feel of the site and its' dialog boxes.

Reply to Discussion

RSS

Events

Birthdays

© 2013   Created by Christian Ståhl.

Badges  |  Report an Issue  |  Terms of Service