Viewing 4 replies - 1 through 4 (of 4 total)
  • Same here it has changed the Datepicker in Events Manager and the colours aren’t right….

    Just deleted backend.css and Events Manager is back to normal but there is some clashes with same of the classes ie .ui-state-default.

    Does it have to use the same classes and could this be fixed?

    Thread Starter Jimmy

    (@jayem82)

    He can add classes to his plugin page and fix the css. In the meantime you can still keep backend.css and add this code to your theme functions.php:

    add_action( 'admin_init', 'my_remove_admin_styles', 30 );
    function my_remove_admin_styles() {
        wp_dequeue_style( 'opening-hours-backend' ); // Opening Hours
    }

    If you want to remove the frontend css you can use this:

    add_action( 'wp_enqueue_scripts', 'my_remove_front_styles', 30 );
    function my_remove_front_styles() {
        wp_dequeue_style( 'opening-hours-frontend' ); // Opening Hours
    }

    Maybe there is a better code to use, but this works for me.

    Plugin Author janizde

    (@janizde)

    Hi guys,

    I’m currently working on v 2.0. In this version I will use less in development and with less it is very easy to do it the way jayem82 suggested, which is setting a custom wrap class for the content and then less extends the selectors. So I will only change the behavior on my own Plugin pages.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘CSS stylesheets’ is closed to new replies.