Exclude a day in the calendar

  • Kevinjel
    Asked on May 15, 2014 at 3:55 AM

    Dear Jotform

     

    My company is closed on mondays, i don't want people to be able to reserve on mondays, is it possible to exclude this day from the calendar...

     

    Thanks for the nice forms :)!

     

    Yours,

    Kevin

  • Carina
    Replied on May 15, 2014 at 9:14 AM

    Hi Kevin, it's possible.

    Please inject this css:

    .days td:first-child, .days td:nth-child(2),

    .days td:last-child {

    visibility: hidden;

    }

    .calendar th:first-child, .calendar th:nth-child(2),

    .calendar th:last-child {

    color: #DDD;

    }

    I also removed weekends, but if you wish to have them please use this code instead:

    .days td:nth-child(2) {

    visibility: hidden;

    }

    .calendar th:nth-child(2) {

    color: #DDD;

    }

    Let us know if further support is needed.

    Thank you