Forum Discussion

null null's avatar
null null
Iron Contributor
Oct 31, 2017

modal dialog classes(CSS) location

Could you please let me know where are the classes for the Show modal dialog stored as  css.

 

I want to change the css for the following classes

.ms-dlgTitleBtns, .ms-dlgTitleBtns

 

thanks

4 Replies

  • These will be on corev15.css (/_layouts/15/1033/styles/Themable/corev15.css) ... My recommendation wouldn't be to modify the file but to overwrite them using your own css. 

    • null null's avatar
      null null
      Iron Contributor

      I am working on SharePoint online. How do i edit the file

      and whats the best practise as it appears to me as if the css is wrong and i dont know how it got changed.

       

      thanks

      • Mohammed Rehmatullah's avatar
        Mohammed Rehmatullah
        Copper Contributor

        You can use Torsten Schuster's answer, or you can add your own CSS file reference to the layout page (if you are using one throughout the site collection(s)) or even on the master page. If you need to modify the modal on just a couple of pages, then add it using a Script Editor webpart.

Resources