Weekly Class Schedule
Would like to display class, instructor and time without hovering (2 posts)

  1. rkread59
    Posted 2 years ago #

    Some users don't realize they can hover over the class names to get the class time and instructor name information. Then they have to hover again, over the class name and instructor name, for a full description.

    I'd like to remove that extra step and have the class name and instructor name, as well as the time, readily visible in the schedule cells directly (horizontal layout version)--then when the user hovers over the class name or instructor name, they see further information.

    How would this be done?



  2. kleinermann
    Posted 1 year ago #

    For my project it also makes more sense to show the content of the toolbox popup straight away inside the cell.

    I think this would be very useful to have an option for this in the plugin settings.

    For now i found a solution by overwriting the styles and dequeueing some of the scripts:

    in the theme style.css

    /* Overwrite Weekly Class Timetable Plugin Styles */
    .wcs-schedule td div .wcs-class-details {
        border-style: solid;
        border-width: 0;
        display: block;
        left: 0;
        position: relative;
        top: 0;
        width: 100%;
        z-index: 20;
    .wcs-active-div {cursor:inherit;}
    .wcs-schedule td.before-last-day .wcs-class-details, .wcs-schedule td.last-day .wcs-class-details, .wcs-schedule td.before-last-hour .wcs-class-details, .wcs-schedule td.last-hour .wcs-class-details {
    .wcs-active-div > p {display:none;}
    td.wcs-schedule-cell.active, .wcs-active-div { background-color: transparent !important;}
    .wcs-active-div a {color: #333!important; cursor:inherit;}

    in the themes functions.php file:

    // Deactivate the Toolbox effect in the weekly class timetable plugin
    function example_dequeue_myscript() {
       wp_dequeue_script( 'wcs' );
       wp_dequeue_script( 'wcs_hoverintent' );
       wp_dequeue_script( 'wcs_qtip' );

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Weekly Class Schedule
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.