1602 1535 bas.jacobs
Blog Posts
SharePoint Branding Trick Not Affecting OOTB Dialogs

Use this prefix for elements you want to style without affecting the SharePoint OOTB dialog elements.

html:not(.ms-dialog) {}

Example:

To change the background of the #s4-workspace useĀ html:not(.ms-dialog) #s4-workspace { background: lime }

http://bastiaanjacobs.nl/wp-content/uploads/2015/09/not-dialog.png

 

 

Comments - No Responses to “SharePoint Branding Trick Not Affecting OOTB Dialogs”

Sure is empty down here...

Leave a Reply




HTML5 Accepted Tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>