Title: Dequeue CSS?
Last modified: April 30, 2021

---

# Dequeue CSS?

 *  Resolved [protohominid](https://wordpress.org/support/users/protohominid/)
 * (@protohominid)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/dequeue-css-3/)
 * I’m a developer and I’d like to style the TOC with my theme CSS and prevent the
   loading of the plugin’s CSS file. Is there a way to do that?
 * Thanks!

Viewing 1 replies (of 1 total)

 *  Thread Starter [protohominid](https://wordpress.org/support/users/protohominid/)
 * (@protohominid)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/dequeue-css-3/#post-14385964)
 * Answering my own question – I found another thread that had the answer that I
   modified to apply to the entire site:
 * `add_filter( 'lwptoc_enqueue_style', false );`

Viewing 1 replies (of 1 total)

The topic ‘Dequeue CSS?’ is closed to new replies.

 * ![](https://ps.w.org/luckywp-table-of-contents/assets/icon-256x256.png?rev=2100677)
 * [LuckyWP Table of Contents](https://wordpress.org/plugins/luckywp-table-of-contents/)
 * [Support Threads](https://wordpress.org/support/plugin/luckywp-table-of-contents/)
 * [Active Topics](https://wordpress.org/support/plugin/luckywp-table-of-contents/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/luckywp-table-of-contents/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/luckywp-table-of-contents/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [protohominid](https://wordpress.org/support/users/protohominid/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/dequeue-css-3/#post-14385964)
 * Status: resolved