From 04487e1c2272785110a0aeefcfb3b60c6b1edb1d Mon Sep 17 00:00:00 2001 From: nacin Date: Mon, 12 Jul 2010 19:45:09 +0000 Subject: [PATCH] Center images on attachment pages in Twenty Ten. props lancewillett. see #14284. git-svn-id: http://svn.automattic.com/wordpress/trunk@15393 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyten/style.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-content/themes/twentyten/style.css b/wp-content/themes/twentyten/style.css index a91c1dd61d..3daa64c41d 100644 --- a/wp-content/themes/twentyten/style.css +++ b/wp-content/themes/twentyten/style.css @@ -760,9 +760,6 @@ div.menu li { /* Attachment pages -------------------------------------------------------------- */ -.entry-content .attachment img { - margin-bottom: 0; -} .attachment .entry-content .entry-caption { font-size: 140%; margin-top: 24px; @@ -856,7 +853,10 @@ div.menu li { #content .gallery br+br { display: none; } - +#content .attachment img { /* single attachment images should be centered */ + display: block; + margin: 0 auto; +} /* =Navigation