Question

I would like to apply the color to jquery dialog buttons.I'm trying to set the color in CSS , but not relecting.I have three buttons Search,edit,close. ow to set the some colors ?

.ui-dialog-buttonset button:first-child {
  right: 330px;
  position: absolute;
  top: -385px;
  background-color : red;

}

JSFIDDLE

Was it helpful?

Solution

something like this:

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { background:red;}

FIDDLE

you just have to be more specific with your selectors than the UI stylesheet to overwrite the styles.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top