I’ve adapted a little plugin just to load some custom css (for the H5P plugin). On my local development site, it all works ok. Now I’ve uploaded it to a staging site & none of the css shows up.
It seems my plugin works ok, since the firefox developer tools console shows numerous errors in my css (almost all are “Selector expected. Ruleset ignored due to bad selector”). So at least it seems that the css is being found and loaded. The css validates ok on online validators. As I said, I’m not getting these errors locally, so wondering what else could be causing this?
- The topic ‘CSS works on local build, not on staging site’ is closed to new replies.