How to change background color of jQuery UI Dialog?

后端 未结 6 1530
遇见更好的自我
遇见更好的自我 2020-12-15 06:42

I am having tough time figure out how to change background color of jQuery UI Dialog.

I\'ve seen many reference how to change/remove title bar but not <

6条回答
  •  情歌与酒
    2020-12-15 06:48

    Please be aware that you could also go and make your own custom CSS using this link in jQuery

    http://jqueryui.com/themeroller/

    jQuery allows us to make a custom-css. Please select the theme you would want from the gallery and hit the edit button, you will be able to change almost everything about the dialog box, as well as the rounded corners.

    You then need to download the entire jQuery pack within it you will find css/custom-css folder just put in your css tag and it will be all sorted basically.

    The above ways are also true as you will be able to change it but you will have to look for the classes and stuff like that in the CSS well jQuery does that for us in an easy way and it worked for me as well so you can try it too.

    What I basically do is create two to three custom style sheets and then load them up and play with them and finally choose one for the website and discard the rest.

    I hope this helps...

提交回复
热议问题