You can target titlebar directly, the dialog plugin will output HTML similar to the following for the dialog title:
<div class="ui-dialog-titlebar ui-widget-header"> <span id="ui-id-1" class="ui-dialog-title">Basic dialog</span> </div>
(displayed on the dialog page here )
.ui-dialog-titlebar { background-color: #F9A7AE; background-image: none; color: #000; }
Alternatively, you can pass the class to the dialog:
$('#foo').dialog({dialogClass: 'myClass'});
Look here
billyonecan
source share