I am trying to edit my dialog box to have a transparent title bar that still shows an alternate 'X' to close it, but I am having issues here is my dialog css as of now:
/* Creates the 'X' used to close dialog */
.ui-widget-header .ui-icon
{
background-image: url("../Images/X.png") !important;
}
/* Removes padding from title bar */
.ui-dialog .ui-dialog-titlebar
{
padding: 0;
position: relative;
}
/* Remove title image and keep 'x' */
.ui-widget-header {
background: transparent repeat-x scroll 50% 50% #F6A828;
border: 1px solid #E78F08;
color: #FFFFFF;
font-weight: bold;
}
As of now the transparent does not over ride the default color (adding !important doesn't change anything either) and the 'x' does not show up (though the default doesn't either). Any suggestions?
EDIT: This link shows the dialog box with my code. Notice how the background is not transparent when it runs. After playing around with it for a bit, I think the image is loading, but I just cannot see it (the colors are very similar) so I think once the title color is resolved that issue will go away as well