How do I dequeue a parent theme CSS file?

Posted by Prem Tiwari | Updated on

If you want to dequeue a parent theme CSS file in your child theme in WordPress. Add the following code to the functions.php file of your current activated WordPress theme.

How to properly dequeue scripts and styles in child theme

Following is an example, how to properly dequeue scripts and styles in child theme in WordPress.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers