From 26faa2ab08c4a89a76dbc1a4ee6a9b9c2c6d8e17 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Fri, 11 Jul 2014 19:23:22 +0000 Subject: [PATCH] Twenty Fourteen: fix a display issue in screen sizes over 846 pixels where a post's featured image covers the post meta of the post above. Props kraftbj and obenland, fixes #28649. git-svn-id: https://develop.svn.wordpress.org/trunk@29101 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyfourteen/css/ie.css | 5 ++--- src/wp-content/themes/twentyfourteen/style.css | 6 ++---- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/wp-content/themes/twentyfourteen/css/ie.css b/src/wp-content/themes/twentyfourteen/css/ie.css index 734405d206..82142d2e27 100644 --- a/src/wp-content/themes/twentyfourteen/css/ie.css +++ b/src/wp-content/themes/twentyfourteen/css/ie.css @@ -519,13 +519,12 @@ a.post-thumbnail:hover { margin-right: auto; } -.ie8 .full-width.singular .hentry.has-post-thumbnail, -.ie8 .full-width.home .hentry.has-post-thumbnail { +.ie8 .full-width .hentry.has-post-thumbnail:first-child { margin-top: -72px; } -.ie8 .singular .hentry.has-post-thumbnail { +.ie8 .singular .site-content .hentry.has-post-thumbnail { margin-top: 0; } diff --git a/src/wp-content/themes/twentyfourteen/style.css b/src/wp-content/themes/twentyfourteen/style.css index 3c947d9aa9..cf8d57b0f9 100644 --- a/src/wp-content/themes/twentyfourteen/style.css +++ b/src/wp-content/themes/twentyfourteen/style.css @@ -3344,8 +3344,7 @@ a.post-thumbnail:hover { } .full-width .site-content .has-post-thumbnail .entry-header, - .full-width.singular .site-content .hentry.has-post-thumbnail, - .full-width.home .site-content .hentry.has-post-thumbnail { + .full-width .site-content .hentry.has-post-thumbnail:first-child { margin-top: -48px; } @@ -3678,8 +3677,7 @@ a.post-thumbnail:hover { margin-left: 20px; } - .full-width.singular .site-content .hentry.has-post-thumbnail, - .full-width.home .site-content .hentry.has-post-thumbnail { + .full-width .site-content .hentry.has-post-thumbnail:first-child { margin-top: -72px; }