0

We use the jQuery UI datepicker control at work, and have only taken the .ui-datepicker classes and customised them.

We don't actually use the jQuery UI themes at all.

The issue I'm having now is I want to use the jQUERY UI dialog box with one of the themes (redmond) or equally roll my own if I knew which parts of the CSS I need.

When I use redmond, it's now adding lots of css classes to the page that the datepicker probably shares with the rest of the UI, and effectively completely screws up the calendar.

Is there any way to isolate the CSS for datepicker or is there any where I can see precisely what CSS i need to add to my project outside of themes in order to have the dialog work properly?

2
  • How about preventing the built in CSS from overriding the custom css for datepicker with !important..?
    – T J
    Commented Dec 2, 2014 at 16:26
  • You can use a CSS reset as mentioned here, or if you use less you can use its @import extensions. The question is a bit vague, so can't really be more specific. You might want to re-tag it with css and include a bit more detail
    – blgt
    Commented Dec 3, 2014 at 11:50

0

Browse other questions tagged or ask your own question.