WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. rkread59
    Member
    Posted 6 months 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?

    http://satyayogacenter.us/classes/schedule/

    http://wordpress.org/plugins/weekly-class-schedule/

  2. kleinermann
    Member
    Posted 3 months 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 {
    	right:0;
    }
    
    .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
    
    add_action('wp_print_scripts','example_dequeue_myscript');
    function example_dequeue_myscript() {
       wp_dequeue_script( 'wcs' );
       wp_dequeue_script( 'wcs_hoverintent' );
       wp_dequeue_script( 'wcs_qtip' );
    }

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.