From 34cebfe18dcad1bd255f4ec47e4ec725207c1132 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Fri, 8 Mar 2013 16:08:50 +0000 Subject: [PATCH] Twenty Eleven: fix showcase template display in IE7 and IE8, props obenland. Fixes #18024. git-svn-id: http://core.svn.wordpress.org/trunk@23647 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyeleven/style.css | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/wp-content/themes/twentyeleven/style.css b/wp-content/themes/twentyeleven/style.css index 6209180501..c14f6ec90b 100644 --- a/wp-content/themes/twentyeleven/style.css +++ b/wp-content/themes/twentyeleven/style.css @@ -2702,10 +2702,13 @@ p.comment-form-comment { padding-right: -7.6%; max-width: 1000px; } -#ie7 section.featured-post { - margin-left: -7.6%; - margin-right: -7.6%; - max-width: 850px; +#ie7 .featured-posts { + margin: 0 -7.6%; +} +#ie7 .featured-post { + margin-left: 0; + margin-right: 0; + max-width: 100%; } #ie7 section.recent-posts { margin-right: 7.6%; @@ -2715,5 +2718,8 @@ p.comment-form-comment { ----------------------------------------------- */ #ie8 section.feature-image.large img { - width: 100%; + width: auto; +} +#ie8 section.featured-post .attachment-small-feature { + max-width: none; } \ No newline at end of file