I have successfully integrated the bootstrap date picker (view figure below) and it is functioning as expected. The code appears like this:
<div class="input-group date">
<input name="departure" type="text" class="form-control" id="departure" required>
<span class="input-group-addon">
<i data-time-icon="icon-time" data-date-icon="icon-calendar"></i>
</span>
</div>
The following code was used to implement the date picker:
$(document).ready(function () {
$('.input-group.date').datepicker({
format: "yyyy/mm/dd",
startDate: "2014-12-01",
endDate: "2016-01-01",
todayBtn: "linked",
autoclose: true,
todayHighlight: true
});
});
Date picker:
However, I encountered an issue when changing the background color of my HTML page as shown below:
body {
background: #EDEDED !important; /* RGB Decimal :237, 237, 237 */
color: #965B25 !important; /* RGB Decimal :150, 91, 37 */
}
This change also affected the text inside the date picker box, making it unreadable. Is there a way to alter the text color or background color of the date picker itself?
Your assistance on this matter would be greatly appreciated.
Warm regards,
Marcus