From 198802ccb91fcbfcc70e06c42fac92853ba4d06f Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Fri, 1 Mar 2013 03:20:22 +0000 Subject: [PATCH] Twenty Thirteen: second pass at styles for attachment pages that are not images: hide sidebar and navigation link, better alignment of Edit link. Closes #23632. git-svn-id: http://core.svn.wordpress.org/trunk@23544 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentythirteen/style.css | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/wp-content/themes/twentythirteen/style.css b/wp-content/themes/twentythirteen/style.css index 574de19ff3..5b02413a11 100644 --- a/wp-content/themes/twentythirteen/style.css +++ b/wp-content/themes/twentythirteen/style.css @@ -1805,11 +1805,13 @@ footer.entry-meta { text-align: right; } -.attachment footer.entry-meta { - float: none; - max-width: 1040px; - padding: 24px 0; - text-align: right; +.hentry.attachment:not(.image-attachment) .entry-meta { + max-width: 104px; +} + +.attachment footer.entry-meta, +.single-attachment .site-main .sidebar-container { + display: none; } .attachment-meta:before {