How to output CSS to the beginning of the stylesheet in a WordPress Plugin
You should never modify the current theme’s stylesheet via a plugin. What if the theme gets updated, or the user changes themes? Not a good idea. Instead, you should have the plugin create a custom css file, which could be located anywhere you wish, even inside of the current theme’s folder. The only way to … Read more