WP 2.6.2: conditional comments for IE working only on main page
-
I had my new theme tested with WP 2.6 on both IE6 and IE7 and normal browsers too and conditional comments to include separate stylesheets for IEs worked OK. Then I upgraded to WP 2.6.2 and the styles for IE6 and IE7 work but ONLY on the main page, rendered by index.php. All the category pages, search pages, comments etc. take only one stylesheet – the one designed for regular browsers.
I tested it with setting different colors for different syles, black for IE, red for normal, and the main page was back with IE, but all the subpages were red. I tested it also on different computers – the same.
My header css declaration looks like this:
<!–[if IE 6]>
<link rel=”stylesheet” type=”text/css” href=”wp-content/themes/retro-balkonetka/ie6-style.css”>
<![endif]–>
<!–[if IE 7]>
<link rel=”stylesheet” type=”text/css” href=”wp-content/themes/retro-balkonetka/ie_gte7style.css”>
<![endif]–>
<link rel=”stylesheet” href=”https://balkonetka.pl/wp-content/themes/retro-balkonetka/style.css” media=”screen” type=”text/css” />My blog is XHTML 1.0 transitional.
Where do I do a mistake?
- The topic ‘WP 2.6.2: conditional comments for IE working only on main page’ is closed to new replies.