• I created a javascript that will detect the client OS and swap out the css files with an if/else statement. It’s a fairly straightforward thing. But, my theme is using WP_Head, which makes it much more complicated. Using WP_Head, I’m not sure how or where to run this javascript. Any advice?

The topic ‘Conditionally load CSS on OS?’ is closed to new replies.