From 2476d629917fc4f77b41d77a0eb731e3540f0b32 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Mon, 7 Oct 2013 13:18:31 +0000 Subject: [PATCH] Twenty Twelve: Use the correct body class for attachments. .single-attachment is only used when the attachment's parent is not a page. props Marco_Teethgrinder. fixes #25506. git-svn-id: https://develop.svn.wordpress.org/trunk@25707 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentytwelve/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-content/themes/twentytwelve/style.css b/src/wp-content/themes/twentytwelve/style.css index 95892b71a4..98007d3ad3 100644 --- a/src/wp-content/themes/twentytwelve/style.css +++ b/src/wp-content/themes/twentytwelve/style.css @@ -1454,7 +1454,7 @@ img#wpstats { width: 65.104166667%; } body.template-front-page .site-content, - body.single-attachment .site-content, + body.attachment .site-content, body.full-width .site-content { width: 100%; }