• I have a plugin that creates a new page in WP. When this page is accessed, it will completely ignore the theme’s header/footer and use it’s own (for very good reasons, but users do have the option to do this or use their theme’s header/footer).

    Some themes properly enqueue CSS files. My custom header also makes use of wp_head function so all the theme’s CSS files are being used and messing with my plugin’s CSS.

    Is there a way to dequeue ALL CSS files, then I can enqueue mine?

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