Title: Conditionally load CSS on OS?
Last modified: August 21, 2016

---

# Conditionally load CSS on OS?

 *  [Zaiquiri](https://wordpress.org/support/users/zaiquiri/)
 * (@zaiquiri)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/conditionally-load-css-on-os/)
 * 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.

 * 0 replies
 * 1 participant
 * Last reply from: [Zaiquiri](https://wordpress.org/support/users/zaiquiri/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/conditionally-load-css-on-os/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
