From 56489b6404048dc41593f9c00c0e20a54a39107c Mon Sep 17 00:00:00 2001 From: Andrew 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: https://develop.svn.wordpress.org/trunk@15393 602fd350-edb4-49c9-b593-d223f7449a82 --- 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