Plugin Author
taisho
(@taisho)
Hello,
the over-the-top specificity in the plugin is to make sure that no themes have a priority with their CSS without !important over CSS of this plugin. Either the exact selectors or !important can be used for customization.
I can’t put the CSS in a stylesheet due to a lot of rules being dynamic, based on plugin settings or sometimes based on what theme is used.
What I could do it to add a filter that if used would prevent plugin styles loading at all. However, this would not only make most of the plugin settings stop working because they add/change CSS rules but above all leave the buttons in ruin by erasing CSS that takes care of proper sizing and positioning on multiple different page types with multiple different themes.
I don’t think that unloading plugin CSS would make sense unless I misunderstood the issue. It took multiple hours of my tests and feedback from the vocal part of now a few thousand users to get the CSS quite good and it will get even better later, so I wouldn’t try to get rid of the core CSS, only do changes based on what already exists.
Best regards,
Ryszard
-
This reply was modified 6 years, 1 month ago by
taisho.