Title: Disable theme css
Last modified: August 14, 2019

---

# Disable theme css

 *  Resolved [mastercavid](https://wordpress.org/support/users/mastercavid/)
 * (@mastercavid)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/disable-theme-css/)
 * Hi,
 * 1) I want to fully disable your plugin css file with function.php. I mean public.
   min.css
 * 2) How can I disable tinvwl webfont with function.php?
 * 3) I want to add simple notification with ajax when user add product to wishlist.
   How can I make it with jquery? I dont want to use popup, I mean notification 
   which website show it during 2-3 seconds and it dissappear automatically. I dont
   know how can I get added wishlist function

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

 *  Plugin Author [templateinvaders](https://wordpress.org/support/users/templateinvaders/)
 * (@templateinvaders)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/disable-theme-css/#post-11833227)
 * Hi [@mastercavid](https://wordpress.org/support/users/mastercavid/)
 * 1) You can use the next snippet to disable public stylesheet:
    [https://gist.github.com/doozy/ead6304ea7b4e14a7ea90f31e11314d0](https://gist.github.com/doozy/ead6304ea7b4e14a7ea90f31e11314d0)
 * 2) The plugin fonts loading from public stylesheet so with the snippet above 
   it will automatically be disabled.
 * 3) You can disable popup in the general section of plugin settings. On the button
   click fired event ‘tinvwl_wishlist_button_clicked’ that attached to the body 
   so you can use something like:
    ` jQuery(‘body’).on(‘tinvwl_wishlist_button_clicked’,
   function(e, data){ // run your notification code });
 * Kind regards.
 *  Thread Starter [mastercavid](https://wordpress.org/support/users/mastercavid/)
 * (@mastercavid)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/disable-theme-css/#post-11833607)
 * Thank you very much, I solved 1 and 2 and my theme css is cleaner than previous
   now. Excellent! But I dont mean “button clicked” function, I mean “product are
   added” moment (in your code Jquery begin when clicked, not after adding wishlist
   process)
 *  Plugin Author [templateinvaders](https://wordpress.org/support/users/templateinvaders/)
 * (@templateinvaders)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/disable-theme-css/#post-11834231)
 * Hi [@mastercavid](https://wordpress.org/support/users/mastercavid/)
 * I hope we understand what you need exactly and added the event’tinvwl_wishlist_added_status’
   that attached to the body and fired on AJAX reply when product added to wishlist.
   It has two parameters – clicked element and status (boolean) of product addition
   results.
 * Check this commit:
    [https://github.com/TemplateInvaders/ti-woocommerce-wishlist/commit/5805df3d9ae86629a3b9a97140bd75d4e5bd08f1](https://github.com/TemplateInvaders/ti-woocommerce-wishlist/commit/5805df3d9ae86629a3b9a97140bd75d4e5bd08f1)
 * This code will be released in the next update that scheduled on next Tuesday.
 * Kind regards.

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

The topic ‘Disable theme css’ is closed to new replies.

 * ![](https://ps.w.org/ti-woocommerce-wishlist/assets/icon-256x256.gif?rev=2469447)
 * [TI WooCommerce Wishlist](https://wordpress.org/plugins/ti-woocommerce-wishlist/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ti-woocommerce-wishlist/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ti-woocommerce-wishlist/)
 * [Active Topics](https://wordpress.org/support/plugin/ti-woocommerce-wishlist/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ti-woocommerce-wishlist/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ti-woocommerce-wishlist/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [templateinvaders](https://wordpress.org/support/users/templateinvaders/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/disable-theme-css/#post-11834231)
 * Status: resolved