locked
Change the back ground color of modal pop up and size of modal popup RRS feed

  • Question

  • Hi,

    How can I change the  back ground color of modal pop up and size of modal popup in sharepoint site.

    I want to similar in attachment.

    Regards,

    Siva.

    Wednesday, March 4, 2015 2:03 AM

Answers

  • Hi,

    Per my understanding, you might want to change the background color and size of OOTB modal dialog.

    When inspecting the HTML source of the modal dialog, we can see that the related CSS classes for the OOTB Modal Dialog are as below:

    Thus, a possible solution is that you can write custom CSS style to override these built-in classes to implement your own style.

    More information about how to add custom CSS style in SharePoint:

    http://techtrainingnotes.blogspot.com/2012/05/adding-javascript-and-css-to-sharepoint.html

    About how to write custom CSS style:

    http://www.w3schools.com/css/

    Thanks

    Patrick Liang


    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    • Proposed as answer by Dennis Guo Friday, March 13, 2015 9:20 AM
    • Marked as answer by Dennis Guo Monday, March 16, 2015 1:25 AM
    Thursday, March 5, 2015 12:36 PM