1

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...

0

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

jQuery('.ms-dlgContent').css('top','1px');

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.