Prevent parent stylesheet to call

I am creating a child theme with its own variables. I do not want my child theme to call the stylesheet of the parent which is (/parent_theme/dist/styles/main.css). I just want to load the stylesheet of the child itself, which is (/child_theme/dist/styles/main.css).

Please let me know how do I prevent automatic calling of parent stylesheet from my child theme.

Dequeue it.

https://codex.wordpress.org/Function_Reference/wp_dequeue_style

1 Like

thanks a lot Ben…it worked like a gem :slight_smile: