Title: Dequeue/Remove Default CSS
Last modified: August 30, 2016

---

# Dequeue/Remove Default CSS

 *  Resolved [InHouse](https://wordpress.org/support/users/inhouse/)
 * (@inhouse)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/dequeueremove-default-css/)
 * Hello, can you provide a function that will dequeue or remove the default CSS
   that the plugin inserts? I know I can comment out the link in funclib.php; however,
   this is a bit messy since it would need to be done each time the plugin updates.
   Thanks in advance!
 * [https://wordpress.org/plugins/wp-forecast/](https://wordpress.org/plugins/wp-forecast/)

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

 *  Plugin Author [tuxlog](https://wordpress.org/support/users/tuxlog/)
 * (@tuxlog)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/dequeueremove-default-css/#post-6359078)
 * just copy wp-forecast.default.css to wp-forecast.css and leave it an empty file
   will do the trick or you can add the opposite of
 * `add_action('wp_enqueue_scripts', 'wp_forecast_css');`
 * to your functions.php which is
 * `remove_action('wp_enqueue_scripts', 'wp_forecast_css')`
 *  Thread Starter [InHouse](https://wordpress.org/support/users/inhouse/)
 * (@inhouse)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/dequeueremove-default-css/#post-6359088)
 * Beautiful! Thanks a lot for the support!

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

The topic ‘Dequeue/Remove Default CSS’ is closed to new replies.

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

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [dequeue](https://wordpress.org/support/topic-tag/dequeue/)
 * [forecast](https://wordpress.org/support/topic-tag/forecast/)
 * [function](https://wordpress.org/support/topic-tag/function/)
 * [remove_action](https://wordpress.org/support/topic-tag/remove_action/)
 * [style](https://wordpress.org/support/topic-tag/style/)
 * [wp_enqueue_scripts](https://wordpress.org/support/topic-tag/wp_enqueue_scripts/)

 * 2 replies
 * 2 participants
 * Last reply from: [InHouse](https://wordpress.org/support/users/inhouse/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/dequeueremove-default-css/#post-6359088)
 * Status: resolved