Title: dequeue CSS stylesheet
Last modified: August 30, 2016

---

# dequeue CSS stylesheet

 *  Resolved [mojamba](https://wordpress.org/support/users/mojamba/)
 * (@mojamba)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/dequeue-css-stylesheet/)
 * I am trying to optimize my site speed and I want to move the pricing table styles
   into my child theme stylesheet. To do that I also need to dequeue dh-ptp-design1
   but somehow I am unable to accomplish this. I have tried different priorities
   and different action hooks but no luck. Any ideas?
 * [https://wordpress.org/plugins/easy-pricing-tables/](https://wordpress.org/plugins/easy-pricing-tables/)

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

 *  Thread Starter [mojamba](https://wordpress.org/support/users/mojamba/)
 * (@mojamba)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/dequeue-css-stylesheet/#post-6218585)
 * For anyone interested, I worked it out. I was trying to dequeue too early. It
   needs to be done in a footer or later action hook. Here’s what I finally used:
 *     ```
       function remove_assets_footer_scripts() {
       	// --- dequeue Easy Pricing Tables stylesheet
       	wp_dequeue_style( 'dh-ptp-design1' );
       	wp_deregister_style( 'dh-ptp-design1' );
       }
       add_action( 'wp_print_footer_scripts', 'remove_assets_footer_scripts', 0 );
       ```
   
 *  [Jami Gibbs](https://wordpress.org/support/users/jami0821/)
 * (@jami0821)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/dequeue-css-stylesheet/#post-6218786)
 * Thank you! Would be great for this to get added to the docs.

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

The topic ‘dequeue CSS stylesheet’ is closed to new replies.

 * ![](https://ps.w.org/easy-pricing-tables/assets/icon-256x256.gif?rev=2922075)
 * [Pricing Table WordPress Plugin - Easy Pricing Tables](https://wordpress.org/plugins/easy-pricing-tables/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-pricing-tables/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-pricing-tables/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-pricing-tables/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-pricing-tables/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-pricing-tables/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Jami Gibbs](https://wordpress.org/support/users/jami0821/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/dequeue-css-stylesheet/#post-6218786)
 * Status: resolved