Title: Remove plugin css in front end
Last modified: May 21, 2020

---

# Remove plugin css in front end

 *  Resolved [fusisdm](https://wordpress.org/support/users/fusisdm/)
 * (@fusisdm)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/remove-plugin-css-in-front-end/)
 * Hi there,
    is there a way to remove this css from all front end pages? /wp-content/
   plugins/menu-image/includes/css/menu-image.css
 * I’d like to remove it in order to move those css rules in my main css file.
 * Thank you

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

 *  Plugin Author [Rui Guerreiro](https://wordpress.org/support/users/takanakui/)
 * (@takanakui)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/remove-plugin-css-in-front-end/#post-12870992)
 * Hi [@fusisdm](https://wordpress.org/support/users/fusisdm/),
 * At the moment you can comment or remove the line 772
    wp_register_style( ‘menu-
   image’, plugins_url( ”, __FILE__ ) . ‘/includes/css/menu-image.css’, array(),
   MENU_IMAGE_VERSION );
 * Will need to make changes in the next update so it can be removed programmatically
   in a plugin or theme functions.
 *  Thread Starter [fusisdm](https://wordpress.org/support/users/fusisdm/)
 * (@fusisdm)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/remove-plugin-css-in-front-end/#post-12871012)
 * Hi [@takanakui](https://wordpress.org/support/users/takanakui/),
    thank you for
   your reply. I’ve found another way to remove the css, putting this in my function.
   php:
 *     ```
       add_action( 'wp_enqueue_scripts', 'mywptheme_child_deregister_styles', 11 );
       	function mywptheme_child_deregister_styles() {
       	    wp_dequeue_style( 'menu-image' );
       	}
       ```
   
 *  Plugin Author [Rui Guerreiro](https://wordpress.org/support/users/takanakui/)
 * (@takanakui)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/remove-plugin-css-in-front-end/#post-12872788)
 * Great [@fusisdm](https://wordpress.org/support/users/fusisdm/)
 * I thought of that but was thinking that it won’t work because the CSS was enqueued
   in the constructor of the class. But thanks for sharing that it works.

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

The topic ‘Remove plugin css in front end’ is closed to new replies.

 * ![](https://ps.w.org/menu-image/assets/icon-128x128.png?rev=2123398)
 * [Menu Image, Icons made easy](https://wordpress.org/plugins/menu-image/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/menu-image/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/menu-image/)
 * [Active Topics](https://wordpress.org/support/plugin/menu-image/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/menu-image/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/menu-image/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [Rui Guerreiro](https://wordpress.org/support/users/takanakui/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/remove-plugin-css-in-front-end/#post-12872788)
 * Status: resolved