Constructor Theme WordPress and Internet Explorer Compatibility
-
My website displays correctly on all browsers except Internet Explorer. When I view it on IE, all of my white backgrounds turn red. I have searched through these forums and pasted the suggested line of code in my header.php (<meta http-equiv=”X-UA-Compatible” content=”IE=8″>) but it won’t fix the red. I have even gone back in IE versions to 6. Can someone PLEASE help me get rid of this red background.
website: https://www.ds2web.com/dize
Below is the first part of my header.php where I added the meta tag:
<?php
/**
* The Header for the template.
*
* @package WordPress
*/if (!isset( $content_width ) ) $content_width = 1170;
if(session_id() == ”) {
session_start();
}global $pp_homepage_style;
?><!DOCTYPE html>
<html <?php language_attributes(); ?> <?php if(isset($pp_homepage_style) && !empty($pp_homepage_style)) { echo ‘data-style=”‘.esc_attr($pp_homepage_style).'”‘; } ?>>
<head><meta http-equiv=”X-UA-Compatible” content=”IE=8″>
<meta charset=”<?php echo get_bloginfo( ‘charset’ ); ?>” /><?php
$tg_mobile_responsive = kirki_get_option(‘tg_mobile_responsive’);if(!empty($tg_mobile_responsive))
{
?>
<meta name=”viewport” content=”width=device-width, initial-scale=1, maximum-scale=1″ />
<?php
}
?>
- The topic ‘Constructor Theme WordPress and Internet Explorer Compatibility’ is closed to new replies.