There is a possibility to make changes in the look and feel of a timepicker.

Related sample:  Timepicker. Custom Style

For this you need to take the following steps:

  • add a new CSS class(es) with desired settings in the <style> section of your HTML page or in your file with styles (don't forget to include your file on the page in this case)
    .my-first-class {
        /*some styles*/
    .my-second-class {
        /*some styles*/
  • specify the name of the created CSS class (or names of classes separated by spaces) as the value of the css property in the TimePicker configuration:
var timepicker = new dhx.Timepicker({ 
    css:"my-first-class my-second-class"
Back to top