From de697c34cc7ebf2554547d1a960ad811211d4ecb 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: https://develop.svn.wordpress.org/trunk@23647 602fd350-edb4-49c9-b593-d223f7449a82 --- 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