Support » Plugin: Events Manager » [Plugin: Events Manager] Remove css in functions.php or wp-config.php

  • Resolved publicradio


    Hello, I have my own styles for this plugin, so I empty out the css (events_manager.css, not the admin or jquery ui css), but thwn when I upgrade, the new version puts it back in.

    Is there a deregister/dequeue line I can add to functions.php? Some plugins, like Contact Form 7, allow you to set a variable in wp-config.php to set loading css to ‘false’. Either method would work for me.


Viewing 6 replies - 1 through 6 (of 6 total)
  • try to paste this on your theme functions.php

    function my_em_remove_css(){
    	wp_dequeue_style('events-manager', plugins_url('includes/css/events_manager.css',__FILE__));

    It would be nice if you could add an option to pull css from theme folder or not at all. This doesn’t make sense to have the plugin enque the plugin css then have the theme deactivate it.
    hopefully you could add this function/ option to your next release.

    Plugin Author Marcus



    agelonwl’s code worked for me, thanks.


    I am having the same problem. I’m very new to WordPress so it could be I’m overlooking something obvious. But I can’t find a way to customize the css for the event manager upcoming event widget. I tried pasting the code above into my functions.php but it doesn’t work.

    Can anyone help?

    Plugin Author Marcus


    you can’t customize the CSS with this, it removes CSS that we add. However, you can do this now by visiting Settings > General > Performance Options

    To add custom CSS, then you’d probably want to edit your theme’s style.css or use a plugin like JetPack which allows you to add custom CSS to your theme

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Events Manager] Remove css in functions.php or wp-config.php’ is closed to new replies.