WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] css (5 posts)

  1. lotgrafix
    Member
    Posted 1 year ago #

    hi, i just want to give you a small tip for ur plugin if u like.

    it would maybe be cool for most web developers if there were a button to disable the css of the plugin.

    reason: 100% of wp themes has already their css, plugins css just interfere with themes structure and the users that are not so advanced in html or wp, prefers to uninstall the plugin because of that (i did that a lot of times myself when i was a newbie) and if that werent the case, any changes we do to the plugins css will be undone when we update, then we have to reconfigure sheet (or delete it like i do).

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

  2. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    I thought about this, but the CSS we use is pretty minimal, and pretty much necessary for things to look reasonable. We don't use much if any styling like colors etc. and leave that to the themes.

    If you still want to disable the styles, you can do it this way and add it to your functions.php file.

    function my_style_dequeue(){
     dequeue_style('events-manager');
    }
    add_filter('init','my_style_dequeue', 100);
  3. lotgrafix
    Member
    Posted 1 year ago #

    thanks!!!

  4. lotgrafix
    Member
    Posted 1 year ago #

    oh, btw... code didnt work in first instance, its

    function my_style_dequeue(){
    wp_dequeue_style('events-manager');
    }
    add_filter('init','my_style_dequeue',100);

    wp was missing

  5. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    yes, good point, here it is again:

    function my_style_dequeue(){
    wp_dequeue_style('events-manager');
    }
    add_filter('init','my_style_dequeue', 100);

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic