• Resolved driversedwp

    (@driversedwp)


    I need to have my calendar past days of the month to be the same color black as the current future BOOKED days. I only have the option of a light black and they look blank. I need to have all the past days the same dark black color and say booked as the current future BOOKED DAYS. Thank you…

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author wpdevart

    (@wpdevart)

    Hi dear user.

    You need to do some customizations.

    Go to our plugin folder booking-calendar\includes and find this file – ooking_class.php

    Find this string there –

    $class_list .= ' past-day';`

    and replace it with this one –

    $class_list .= ' past-day wpdevart-booked ';

    Then find this code –

    $bookings .= '<div class="day-availability">' . $available . ' <span class="day-av">'.$this->for_tr["for_available"].'</span></div>';

    and replace it with this –

    $bookings .= '<div class="day-availability">';
    if ($date_diff<0 && ($date != '' || strpos( $class, 'past-month-day') !== false )) {
    $bookings .= $this->for_tr["for_booked"].'</div>';
    }else{
    $bookings .=  $available . ' <span class="day-av">'.$this->for_tr["for_available"].'</span></div>';
    }

    Thanks

    Plugin Author wpdevart

    (@wpdevart)

    Hi dear user.

    We are going to close this topic because as we see everything worked fine.

    If you have other questions in future, then contact us again.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Calendar Color’ is closed to new replies.