Color of the day
-
is it possible to change the color of the day in which the action is?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Color of the day’ is closed to new replies.
Home / Plugin: Pinpoint Booking System - #1 WordPress Booking Plugin / Color of the day
is it possible to change the color of the day in which the action is?
Hi,
The font and style of the plugin can be editing the template files located booking-system/templates based on what template you use. To keep the changes to these files for future updates, you can move them to wp-content/dopbsp-templates.
For you case you have to edit the color on the lines 690 and 698.
Best Regards,
Support team
I meant, I wanted to mark all the days of the month that have action 🙂
Hi,
The lines to edit are 606 and 614.
Best Regards,
Support Team
Hi,
Yes, I understand that if you mark the whole time of the day – the color will change, but if only for a few hours – the color will not change. I need to change the color if there are several records
Found solution
/* file jquery.dop.frontend.BSPCalendar.js: */
if (available < 8) {
dayHTML.push(' <div class="dopbsp-ci dopbsp-booked"></div>');
} else {
dayHTML.push(' <div class="dopbsp-ci dopbsp-'+status+'"></div>');
}
dayHTML.push(' <div class="dopbsp-day">'+day+'</div>');
ovidijus, can you be more specific? Where you put the code? i try some modification into jquery.dop.frontend.BSPCalendar.js but unsuccessfully. Can you make screenshot?
in file:
jquery.dop.frontend.BSPCalendar.js
at line: 1974
I changed code (u can see in picture)
I have 9 events / day
If available some events in this day, i marking this day like booked and changing css attribute
King regards.