I would like to override Modal Dialog Box CSS in SharePoint 2013.I using Below CSS in the Content Editor Web part of the Particular list Newform.aspx.But Its not overriding existing CSS.

iframe .ms-dlgContent {
    top:1px !important;


Any Help Would be greatly appreciated...

1 Answer 1


Just after you create your modal dialog, use JQuery to force the Css.


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.