user63371
user63371

Reputation: 539

jQuery UI datepicker css

How can I apply my own theme to a datepicker or at least apply a theme from jQuery to it?

Upvotes: 3

Views: 36821

Answers (2)

bendewey
bendewey

Reputation: 40235

I would recommend using http://jqueryui.com/themeroller/, if that doesn't help you look more indepth into the ui.datepicker.css file and the ui.theme.css files.

Upvotes: 8

tvanfosson
tvanfosson

Reputation: 532465

I'm assuming that you are using the jQuery UI datepicker. If so, you can design a custom theme at the jQuery UI ThemeRoller, then modify the resulting CSS file to you tweak it to your liking. You'll get CSS and custom images for the hover effects. The javascript will generate code that references the classes in the CSS file.

Upvotes: 3

Related Questions