Title: Remove Function discover_head_css
Last modified: August 21, 2016

---

# Remove Function discover_head_css

 *  [gmassonfr](https://wordpress.org/support/users/gmassonfr/)
 * (@gmassonfr)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/remove-function-discover_head_css/)
 * Hello everyone,
 * I already managed, on my child theme, to override a few functions such as discover_of_style
   and discover_of_register_js to modify the nav menu, as well as the options corresponding
   of the color choice.
 * Now I would like to remove the functions discover_head_css to set up my own style
   without letting the admin having a choice but I can’t figure out why my function
   is not working.
 * My current function is:
 *     ```
       // remove the custom head css
   
       function remove_discover_head_css() {
       	remove_action('wp-head','discover_head_css');
       }
       add_action ('wp-head','remove_discover_head_css');
       ```
   
 * Some help would be much appropriate 🙂
 * Cheers

The topic ‘Remove Function discover_head_css’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/discover/1.7.33/screenshot.png)
 * discover
 * [Support Threads](https://wordpress.org/support/theme/discover/)
 * [Active Topics](https://wordpress.org/support/theme/discover/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/discover/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/discover/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [gmassonfr](https://wordpress.org/support/users/gmassonfr/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/remove-function-discover_head_css/)
 * Status: not resolved