Title: Force a theme based on browser type
Last modified: August 18, 2016

---

# Force a theme based on browser type

 *  [jdcfsu](https://wordpress.org/support/users/jdcfsu/)
 * (@jdcfsu)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/force-a-theme-based-on-browser-type/)
 * Is there a way to determine a site visitors browser type and then based on the
   determination, force them to view a certain theme? I am working on a new theme
   and, because of IE6s lame handling of standards, doesn’t output correctly in 
   IE6. IE6 amounts for about 20% of my user base so recoding the site is almost
   not worth it. I’d like to determine who is using IE6 and below and force them
   to my current theme (which works) and just add a note about what they are missing.
   Is this possible? Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Alex Cragg](https://wordpress.org/support/users/epicalex/)
 * (@epicalex)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/force-a-theme-based-on-browser-type/#post-556180)
 * you can tell IE to display different style sheets, so in your header put something
   like
 *     ```
       <!--[if IE]>
       <style type="text/css">
       @import "http://www.mydomain.com/wp-content/themes/default/styleIE.css";
       </style>
       <![endif]-->
       ```
   
 * the if IE can be changed to specific versions, and less than and greater than
   statements.
 * If different css coding is all that is needed to display the site correctly in
   IE(it is on my site), then this will work, as for whole themes i dont know
 *  Thread Starter [jdcfsu](https://wordpress.org/support/users/jdcfsu/)
 * (@jdcfsu)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/force-a-theme-based-on-browser-type/#post-556221)
 * Thank you. A version of this will work.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Force a theme based on browser type’ is closed to new replies.

## Tags

 * [IE6](https://wordpress.org/support/topic-tag/ie6/)
 * [standards](https://wordpress.org/support/topic-tag/standards/)

 * 2 replies
 * 2 participants
 * Last reply from: [jdcfsu](https://wordpress.org/support/users/jdcfsu/)
 * Last activity: [19 years, 1 month ago](https://wordpress.org/support/topic/force-a-theme-based-on-browser-type/#post-556221)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
