Title: Hook for CSS Output.
Last modified: August 30, 2016

---

# Hook for CSS Output.

 *  [xvelopers](https://wordpress.org/support/users/xvelopers/)
 * (@xvelopers)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/hook-for-css-output/)
 * Is there any hook or way to disable css output from theme.
 * [https://wordpress.org/plugins/megamenu/](https://wordpress.org/plugins/megamenu/)
 * I tried
 * > update_option(‘settings[css]‘,’disabled’);
 * but its not working

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

 *  Thread Starter [xvelopers](https://wordpress.org/support/users/xvelopers/)
 * (@xvelopers)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/hook-for-css-output/#post-6669412)
 * any solution?
 *  Plugin Author [megamenu](https://wordpress.org/support/users/megamenu/)
 * (@megamenu)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/hook-for-css-output/#post-6669428)
 * Hi,
 * You would need to use wp_dequeue_script.
 * But wait.. please do _not_ do this. What if the menu markup changes? Users will
   update the plugin and their menu will break. Instead you should use the theme
   editor and override any styles (or add some of your own) using the Custom Styling
   section in the menu theme. Then you can export the menu theme and include it 
   in your WordPress theme.
 * Regards,
    Tom
 *  Thread Starter [xvelopers](https://wordpress.org/support/users/xvelopers/)
 * (@xvelopers)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/hook-for-css-output/#post-6669431)
 * Tom thanks for your reply.
 * there are some padding properties that i don’t need. Its breaking my widgets 
   css.
 *  Plugin Author [megamenu](https://wordpress.org/support/users/megamenu/)
 * (@megamenu)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/hook-for-css-output/#post-6669432)
 * Hi,
 * In the theme editor, uncheck ‘Reset Widget Styling’. Does that help?
 * Regards,
    Tom

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

The topic ‘Hook for CSS Output.’ is closed to new replies.

 * ![](https://ps.w.org/megamenu/assets/icon-128x128.png?rev=1489843)
 * [Max Mega Menu](https://wordpress.org/plugins/megamenu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/megamenu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/megamenu/)
 * [Active Topics](https://wordpress.org/support/plugin/megamenu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/megamenu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/megamenu/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [megamenu](https://wordpress.org/support/users/megamenu/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/hook-for-css-output/#post-6669432)
 * Status: not resolved