How do I not load the theme's style.css after importing into Microthemer

Author Posts


I was very happy to hear we could import stylesheets. Makes it much easier to manage things. But we can’t simply delete the theme’s style.css as it throws off an error. Is there any way of getting around this so at the very least the sheet isn’t loaded to prevent an http request?



I figured this out for Genesis by adding the below to functions.php:

remove_action( ‘genesis_meta’, ‘genesis_load_stylesheet’ );


Hey, I’m glad you found a solution for this. Exactly what I would have recommended. Most themes enqueue the main style.css stylesheet via WordPress action hooks. And so can be dequeued in a similar way, albeit with slightly different code to the Genesis example you provided.

Thanks for sharing your method 🙂

You must login or register to reply to this topic.