Title: dequeue style
Last modified: August 21, 2016

---

# dequeue style

 *  Resolved [publicradio](https://wordpress.org/support/users/publicradio/)
 * (@publicradio)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/dequeue-style/)
 * I am trying to dequeue the css for the front end of this plugin. I have tried
   pulling the enqueue line from events-manager.php but it doesn’t work:
 * wp_dequeue_style(‘events-manager’, plugins_url(‘includes/css/events_manager.css’,
   __FILE__));
 * I also tried removing the variables and using this line:
 * wp_dequeue_style(‘events-manager’, ‘/wp-content/plugins/events-manager/includes/
   css/events_manager.css’);
 * But neither will disable events_manager.css. How do I do this?
 * [http://wordpress.org/extend/plugins/events-manager/](http://wordpress.org/extend/plugins/events-manager/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [agelonwl](https://wordpress.org/support/users/angelonwl/)
 * (@angelonwl)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/dequeue-style/#post-3705114)
 * maybe you can try something like this
 *     ```
       function my_em_remove_css(){
       	wp_dequeue_style('events-manager', plugins_url('includes/css/events_manager.css',__FILE__));
       }
       add_action('init','my_em_remove_css');
       ```
   
 * or try settings at Events > Settings > General > Performance Optimization
 *  Thread Starter [publicradio](https://wordpress.org/support/users/publicradio/)
 * (@publicradio)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/dequeue-style/#post-3705299)
 * The function didn’t work, but the settings totally worked. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘dequeue style’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=3550347)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [dequeue](https://wordpress.org/support/topic-tag/dequeue/)

 * 2 replies
 * 2 participants
 * Last reply from: [publicradio](https://wordpress.org/support/users/publicradio/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/dequeue-style/#post-3705299)
 * Status: resolved