Quantcast
Channel: responsive – WordPress.org Forums
Viewing all articles
Browse latest Browse all 16569

Mike Sneed on "[Theme: Customizr] My site in IE8 isn't reponsive"

$
0
0

I found so code here that worked from here and used this global style:

add_action( 'wp_head', 'wps_add_ie_html5_shim' );
/**
 *  Add IE conditional html5 shim to header
 */
function wps_add_ie_html5_shim() {
    global $is_IE;
    if ( $is_IE ) {
        echo '<!--[if lt IE 9]>';
        echo '<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>';
        echo '<![endif]-->';
    }
}

From Eunus Hosen and adapted it to the code Acub showed me.. it's working!

Resolved.. Thanks!


Viewing all articles
Browse latest Browse all 16569

Latest Images

Trending Articles



Latest Images