From e7726bc6dca701ed49876598abe0be05b828484c Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Wed, 10 Apr 2013 22:44:29 +0000 Subject: [PATCH] Twenty Thirteen: display gallery captions correctly in IE7 and IE8. Props celloexpressions and kovshenin, fixes #23996. git-svn-id: https://develop.svn.wordpress.org/trunk@23959 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-content/themes/twentythirteen/css/ie.css | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/wp-content/themes/twentythirteen/css/ie.css b/wp-content/themes/twentythirteen/css/ie.css index 5f2546be19..18c7cceda2 100644 --- a/wp-content/themes/twentythirteen/css/ie.css +++ b/wp-content/themes/twentythirteen/css/ie.css @@ -60,6 +60,21 @@ img.alignleft { max-width: 604px; margin: 0; } + +.gallery-item, +.gallery img { + max-width: none; +} + +.gallery-caption { + background: #000; + filter: alpha(opacity=0); +} + +.gallery-item:hover .gallery-caption { + filter: alpha(opacity=70); +} + .comment { clear: both; } @@ -117,10 +132,6 @@ img.alignleft { width: auto; } -.ie8 .gallery img { - max-width: none; -} - .ie8 .sidebar .entry-header, .ie8 .sidebar .entry-content, .ie8 .sidebar .entry-summary,