• Resolved Kurti75

    (@kurti75)


    Hello,
    I’m using a custom css “ui-lightness.css” for jquery datepicker in my theme which is working well with all plugins e.g. cforms. Except of EM, which is still using its own css and which is loaded later then the one in the theme. Currently I have to overwrite the EM ui-lightness.css manually after each update of EM with the modified one.
    Is there a solution to ignore the EM ui-lightness.css?

    Thanks,
    Kurti

    http://wordpress.org/extend/plugins/events-manager/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    the best solution would be for now adding this snippet, so our one isn’t loaded:

    function my_em_wp_localize_script( $vars ){
    	$vars['ui_css'] = '';
    	return $vars;
    }
    add_filter('em_wp_localize_script', 'my_em_wp_localize_script');

    next update I’ll make sure we don’t try to add a script if ui_css is false or empty

    Thread Starter Kurti75

    (@kurti75)

    Thanks, your solution is working prefect!

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    wp filters make it easy 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘EM Datepicker style overwrites the theme datepicker style’ is closed to new replies.