Title: Dequeue/remove plugin styles
Last modified: August 19, 2021

---

# Dequeue/remove plugin styles

 *  Resolved [Jamie Burchell](https://wordpress.org/support/users/jamieburchell/)
 * (@jamieburchell)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/dequeue-remove-plugin-styles/)
 * Hi there
 * Is it possible to remove/dequeue this stylesheet?
 * /plugins/stripe-payments/public/views/templates/default/style.css?ver=2.0.47 ?
 * The reason is because I need to remove/override most of the styles to match the
   website, i.e. I need to write a lot of CSS overrides to remove the button styles
   and would prefer to start from scratch.
 * Thanks
    Jamie

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

 *  Plugin Contributor [Alexander C.](https://wordpress.org/support/users/alexanderfoxc/)
 * (@alexanderfoxc)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/dequeue-remove-plugin-styles/#post-14785902)
 * Hi Jamie.
 * If you want to override CSS class for a specific product, you can set either 
   your own or some non-existent class for the button on `Appearance` section on
   product edit page. For example, if you set the class to `non-existent-class`,
   the button would use theme’s default appearance.
 *  Thread Starter [Jamie Burchell](https://wordpress.org/support/users/jamieburchell/)
 * (@jamieburchell)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/dequeue-remove-plugin-styles/#post-14794883)
 * Hi Alexander
 * Thanks for the quick response. I’d prefer to remove this stylesheet completely
   as it doesn’t contain anything I need and is a waste to download in that case.
 * I found that I can remove the stylesheet with this:
 *     ```
       function custom_remove_asp_default_style() {
           wp_dequeue_style( 'asp-default-style' );
           wp_deregister_style( 'asp-default-style' );
       }
       add_action( 'wp_print_styles', 'custom_remove_asp_default_style' );
       ```
   
 * Many thanks
    Jamie

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

The topic ‘Dequeue/remove plugin styles’ is closed to new replies.

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

 * 2 replies
 * 2 participants
 * Last reply from: [Jamie Burchell](https://wordpress.org/support/users/jamieburchell/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/dequeue-remove-plugin-styles/#post-14794883)
 * Status: resolved