Ready to get started?Download WordPress


Opening Hours
[resolved] CSS stylesheets (5 posts)

  1. Jimmy
    Posted 10 months ago #

    You should look over the stylesheets, and stop using !important tags. It's interfering with other plugins. Instead use proper classes and id's.



  2. cjc1867
    Posted 9 months ago #

    Same here it has changed the Datepicker in Events Manager and the colours aren't right....

  3. cjc1867
    Posted 9 months ago #

    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?

  4. Jimmy
    Posted 9 months ago #

    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.

  5. janizde
    Plugin Author

    Posted 9 months ago #

    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.


You must log in to post.

About this Plugin

About this Topic


No tags yet.