re: WordPress Fallback CSS VIEW POST

FULL DISCUSSION
 

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: vanaf1979.nl/wordpress-css-styles-... (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: gist.github.com/vanaf1979/b6f5d57d...

Or maybe you can just restructure your Css and implement some progressive enhancements using @support. Check out this article: dev.to/lampewebdev/css-quickies-su...

Hope this helps...

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

Thanks

code of conduct - report abuse