From ab2764471059523f9def3491e3dd74205c56fd10 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Fri, 17 May 2013 19:22:39 +0000 Subject: [PATCH] Twenty Thirteen: ensure galleries are displayed correctly (centered) on both single and indexed views, props obenland. See #24307. git-svn-id: https://develop.svn.wordpress.org/trunk@24285 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-content/themes/twentythirteen/style.css | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/wp-content/themes/twentythirteen/style.css b/wp-content/themes/twentythirteen/style.css index a239b660ba..a1cce2f82a 100644 --- a/wp-content/themes/twentythirteen/style.css +++ b/wp-content/themes/twentythirteen/style.css @@ -1244,10 +1244,10 @@ footer.entry-meta { position: relative; } -.single .gallery-columns-1.gallery-size-medium, -.single .gallery-columns-1.gallery-size-thumbnail, -.single .gallery-columns-2.gallery-size-thumbnail, -.single .gallery-columns-3.gallery-size-thumbnail { +.gallery-columns-1.gallery-size-medium, +.gallery-columns-1.gallery-size-thumbnail, +.gallery-columns-2.gallery-size-thumbnail, +.gallery-columns-3.gallery-size-thumbnail { display: table; margin: 0 auto 20px; } @@ -1532,6 +1532,7 @@ footer.entry-meta { .archive .format-gallery .gallery, .search .format-gallery .gallery { margin-bottom: 20px; + margin-left: -4px; max-width: 608px; }