# IE 8 support?

**URL:** https://discourse.roots.io/t/ie-8-support/2464
**Category:** uncategorized
**Created:** 2014-11-02T03:44:48Z
**Posts:** 3

## Post 1 by @resting — 2014-11-02T03:44:48Z

I’ve tried adding `respond.js` to `/templates/head.php` as suggested [here](http://wordpressence.org/2013/12/30/adding-ie8ie7-support-to-the-roots-theme/)

This is how my `/templates/head.php` looks like now:

```
<!doctype html>
<html class="no-js" <?php language_attributes(); ?>>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title><?php wp_title('|', true, 'right'); ?></title>
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <![if lt IE 9]>
  <script src="<?php echo get_template_directory_uri(); ?>/assets/js/respond.js"></script>
  <![endif]-->
  <?php wp_head(); ?>

  <link rel="alternate" type="application/rss+xml" title="<?php echo get_bloginfo('name'); ?> Feed" href="<?php echo esc_url(get_feed_link()); ?>">
</head>
```

IE 8 managed to load the file fine (tested with console.log), but media queries still doesn’t seem to be working. All columns are full width regardless of the window size.

Any one managed to get it working in IE 8 could share your solution?

---

## Post 2 by @resting — 2014-11-02T03:48:59Z

It’s working now. Just has to move that snippet after `<?php wp_head(); ?>`

Example:

```
<!doctype html>
<html class="no-js" <?php language_attributes(); ?>>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title><?php wp_title('|', true, 'right'); ?></title>
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <?php wp_head(); ?>

  <![if lt IE 9]>
  <script src="<?php echo get_template_directory_uri(); ?>/assets/js/respond.js"></script>
  <![endif]-->

  <link rel="alternate" type="application/rss+xml" title="<?php echo get_bloginfo('name'); ?> Feed" href="<?php echo esc_url(get_feed_link()); ?>">
</head>
```

---

## Post 3 by @cfx — 2014-11-02T16:25:55Z

Why not use the Bower version? [Respond.js: how to get it working?](http://discourse.roots.io/t/respond-js-how-to-get-it-working/2272)
