Title: D
Last modified: March 4, 2024

---

# D

 *  Resolved [dev](https://wordpress.org/support/users/devksec/)
 * (@devksec)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/d-26/)
 * Hello,
 * wordpress dequeue and deregister styles won’t apply for the front-end CSS files,
   where there’s no issue with other plugins/wordpress style sheets being removed.
 * Is there a reason why “ivole-frontend-css-css” can’t be removed on non-product
   pages, even with a 999 priority?
 * function dequeue_components_style_on_product_category_and_homepage() {
   // Check
   if it’s a product category page, the homepage, or the front pageif (is_product_category()
   || is_home() || is_front_page()) {wp_dequeue_style(‘ivole-frontend-css-css’);
   wp_deregister_style(‘ivole-frontend-css-css’);}}
 * // Hook the function to the wp_print_styles action with a high priority
   add_action(‘
   wp_print_styles’, ‘dequeue_components_style_on_product_category_and_homepage’,
   999);

Viewing 1 replies (of 1 total)

 *  Thread Starter [dev](https://wordpress.org/support/users/devksec/)
 * (@devksec)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/d-26/#post-17472842)
 * Despite the ID being ‘ivole-frontend-css-css’ in the page HTML, its actually ‘
   ivole-frontend-css” that needs to be dequeued.

Viewing 1 replies (of 1 total)

The topic ‘D’ is closed to new replies.

 * ![](https://ps.w.org/customer-reviews-woocommerce/assets/icon-256x256.png?rev
   =2532349)
 * [Customer Reviews for WooCommerce](https://wordpress.org/plugins/customer-reviews-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/customer-reviews-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/customer-reviews-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/customer-reviews-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/customer-reviews-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/customer-reviews-woocommerce/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [dev](https://wordpress.org/support/users/devksec/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/d-26/#post-17472842)
 * Status: resolved