re: WordPress Fallback CSS VIEW POST


You probably found an answer by now, but let me add some options for you.

Maybe you can achieve the desired effect with html conditionals!? I wrote a article about these and other enqueue options here: (Scroll down to "Adding Conditional stylesheets:")

As for your first option... You're right that you can't enqueue noscripts, but adding these to the head is actually pretty simple. I have created a little Gist for you with a implementation of your noscript here:

Or maybe you can just restructure your Css and implement some progressive enhancements using @support. Check out this article:

Hope this helps...

I'm curious what your final solution is, so please share. ;)


code of conduct - report abuse