Ticket #21440: add-media-querie-support-1.diff

File add-media-querie-support-1.diff, 1.0 KB (added by philiparthurmoore, 10 months ago)
Line 
1Index: wp-content/themes/twentytwelve/header.php
2===================================================================
3--- wp-content/themes/twentytwelve/header.php   (revision 21435)
4+++ wp-content/themes/twentytwelve/header.php   (working copy)
5@@ -9,7 +9,15 @@
6  * @since Twenty Twelve 1.0
7  */
8 ?><!DOCTYPE html>
9+<!--[if IE 7]>
10+<html id="ie7" <?php language_attributes(); ?>>
11+<![endif]-->
12+<!--[if IE 8]>
13+<html id="ie8" <?php language_attributes(); ?>>
14+<![endif]-->
15+<!--[if !(IE 7) | !(IE 8)  ]><!-->
16 <html <?php language_attributes(); ?>>
17+<!--<![endif]-->
18 <head>
19 <meta charset="<?php bloginfo( 'charset' ); ?>" />
20 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
21@@ -18,6 +26,7 @@
22 <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
23 <!--[if lt IE 9]>
24 <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
25+<script src="<?php echo get_template_directory_uri(); ?>/js/css3-mediaqueries.js" type="text/javascript"></script>
26 <![endif]-->
27 <?php wp_head(); ?>
28 </head>