Title: Loading CSS W.R.T the browser
Last modified: August 21, 2016

---

# Loading CSS W.R.T the browser

 *  Resolved [madmobrak](https://wordpress.org/support/users/madmobrak/)
 * (@madmobrak)
 * [13 years ago](https://wordpress.org/support/topic/loading-css-wrt-the-browser/)
 * hey great plugin!
    im still a beginner .. can CSS be loaded depending on the 
   browser used? if yes .. what is the code ? and where to put it.. thanks in advanced
 * [http://wordpress.org/extend/plugins/php-browser-detection/](http://wordpress.org/extend/plugins/php-browser-detection/)
 * _[Bump deleted]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Mindshare Labs, Inc.](https://wordpress.org/support/users/mindshare/)
 * (@mindshare)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/loading-css-wrt-the-browser/#post-3771797)
 * Sorry about the delay. Yes you can add CSS based on the detected browser.
 * Try something like this in the header.php file of your theme, inside the HEAD
   tag:
 *     ```
       <?php
       if(is_firefox($version)) {
           echo '<link rel="stylesheet" href="browser-styles.css" />';
       };
       ?>
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Loading CSS W.R.T the browser’ is closed to new replies.

 * ![](https://ps.w.org/php-browser-detection/assets/icon-256x256.png?rev=999338)
 * [PHP Browser Detection](https://wordpress.org/plugins/php-browser-detection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/php-browser-detection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/php-browser-detection/)
 * [Active Topics](https://wordpress.org/support/plugin/php-browser-detection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/php-browser-detection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/php-browser-detection/reviews/)

## Tags

 * [browser](https://wordpress.org/support/topic-tag/browser/)
 * [css](https://wordpress.org/support/topic-tag/css/)
 * [redirecting](https://wordpress.org/support/topic-tag/redirecting/)

 * 1 reply
 * 2 participants
 * Last reply from: [Mindshare Labs, Inc.](https://wordpress.org/support/users/mindshare/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/loading-css-wrt-the-browser/#post-3771797)
 * Status: resolved