Modifying the table CSS
The plugin includes a filter ‘lh_sortable_tables_style_handle_filter’ to ue a different css file to style the tables. Below is an example of how you would go about using this filter
//first register a new style file function my_new_table_styles() { wp_register_style( 'my-new-table-style', plugins_url( 'my-new-table-styles/css/plugin.css' ) );} add_action( 'wp_enqueue_scripts', 'my_new_table_styles' ); //second filter the style that is enqueued //when a sortable table is present function my_new_table_style_enqueue($handle){ return 'my-new-table-style'; } add_filter( 'lh_sortable_tables_style_handle_filter', 'my_new_table_style_enqueue',10,1 );
Note the current style ‘sortable.css´file handles the toggles that appear in the header. SO I would suggest taking a copy of that file as a starter for your new file.
If you like this plugin please consider making a donation to further development