Title: css and default time slots
Last modified: August 21, 2016

---

# css and default time slots

 *  Resolved [lgordo](https://wordpress.org/support/users/lgordo/)
 * (@lgordo)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/css-and-default-time-slots/)
 * can you/anyone post or give access to the css format that is used in the live
   demo?
    Also – I’d like to change the default time slots – I have found them in
   cpabc_appointments.php but can’t get my changes to take effect, not even by deactivating/
   reactivating the plugin
 * Any suggestions greatly apprecieated
 * LG.
 * [https://wordpress.org/plugins/appointment-booking-calendar/](https://wordpress.org/plugins/appointment-booking-calendar/)

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

 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/css-and-default-time-slots/#post-4749235)
 * Hi,
 * The CSS files used on the demo are included in the plugin (note that there are
   various styles selectable from the settings area), however in your theme those
   styles may look a bit different due to the styles inherited from your theme.
 * To define your own time-slots use the area located below the calendar on the 
   calendar settings area. On that area click the weekday tab and add the desired
   slots for each weekday.
 * Thank you for using the plugin!
 *  Thread Starter [lgordo](https://wordpress.org/support/users/lgordo/)
 * (@lgordo)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/css-and-default-time-slots/#post-4749243)
 * (Not Resolved Yet!)
    Thanks, the css is not so important, the “Default Daily 
   Time Slots” however are.
 * I know how to change individual days time slots but i want to change the “Default”
   settings so that the whole calendar has my modified settings for ALL days.
 * The times are initiated in cpabc_appointments.php with the sql INSERT INTO statement
   below (that I’ve tried to change by re-activating the plugin) – which didn’t 
   work
 * I assume I would have to do an sql UPDATE. I am not too familiar with SQL and
   would not want to risk wrecking my site – so i guess I would have to uninstall
   the plugin and re-install it but would that alter the DB. (do the plugin’s DB
   tables get wiped when uninstalled? if not, will the re-run INSERT statement cause
   the old data to be overwritten or will it insert another line/tuple in to the
   table and mess everything up?)
 *  $sql = ‘INSERT INTO `'.$wpdb->prefix.CPABC_APPOINTMENTS_CONFIG_TABLE_NAME.'`(
   conwer,`form_structure`,`'.CPABC_TDEAPP_CONFIG_ID.'`,`'.CPABC_TDEAPP_CONFIG_TITLE.'`,`'.
   CPABC_TDEAPP_CONFIG_USER.'`,`'.CPABC_TDEAPP_CONFIG_PASS.'`,`'.CPABC_TDEAPP_CONFIG_LANG.'`,`'.
   CPABC_TDEAPP_CONFIG_CPAGES.'`,`'.CPABC_TDEAPP_CONFIG_TYPE.'`,`'.CPABC_TDEAPP_CONFIG_MSG.'`,`'.
   CPABC_TDEAPP_CONFIG_WORKINGDATES.'`,`'.CPABC_TDEAPP_CONFIG_RESTRICTEDDATES.'`,`'.
   CPABC_TDEAPP_CONFIG_TIMEWORKINGDATES0.'`,`'.CPABC_TDEAPP_CONFIG_TIMEWORKINGDATES1.'`,`'.
   CPABC_TDEAPP_CONFIG_TIMEWORKINGDATES2.'`,`'.CPABC_TDEAPP_CONFIG_TIMEWORKINGDATES3.'`,`'.
   CPABC_TDEAPP_CONFIG_TIMEWORKINGDATES4.'`,`'.CPABC_TDEAPP_CONFIG_TIMEWORKINGDATES5.'`,`'.
   CPABC_TDEAPP_CONFIG_TIMEWORKINGDATES6.'`,`'.CPABC_TDEAPP_CALDELETED_FIELD.'`)‘.
   ‘
   VALUES(0,”‘.esc_sql(CPABC_APPOINTMENTS_DEFAULT_form_structure).'”,”1″,”cal1″,”
   Calendar Item 1″,””,”ENG”,”1″,”3″,”Please, select your appointment.”,”1,2,3,4,5″,””,””,”
   8:3,9:0,10:0,11:0,13:0,14:0″,”8:3,9:0,10:0,11:0,13:0,14:0″,”8:3,9:0,10:0,11:0,13:
   0,14:0″,”8:3,9:0,10:0,11:0,13:0,14:0″,”8:3,9:0,10:0,11:0,13:0,14:0″,””,”0″);’;
   $wpdb->query($sql);
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/css-and-default-time-slots/#post-4749284)
 * You don’t need to edit the times in that way, that can be done visually. See 
   instructions on this image:
 * [http://wordpress.dwbooster.com/UserFiles/Image/appointment-booking-calendar/adding-times.gif](http://wordpress.dwbooster.com/UserFiles/Image/appointment-booking-calendar/adding-times.gif)

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

The topic ‘css and default time slots’ is closed to new replies.

 * ![](https://ps.w.org/appointment-booking-calendar/assets/icon-256x256.png?rev
   =978691)
 * [Appointment Booking Calendar](https://wordpress.org/plugins/appointment-booking-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/appointment-booking-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/appointment-booking-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/appointment-booking-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/appointment-booking-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/appointment-booking-calendar/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [codepeople](https://wordpress.org/support/users/codepeople/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/css-and-default-time-slots/#post-4749284)
 * Status: resolved