From 24cf418767d24eef4b786245996b66d9c725fc12 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Thu, 14 Mar 2013 22:11:41 +0000 Subject: [PATCH] Twenty Thirteen: hide gallery captions from small screens and when a gallery has 7 columns or more. Props kwight, fixes #23769. git-svn-id: http://core.svn.wordpress.org/trunk@23700 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentythirteen/style.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/wp-content/themes/twentythirteen/style.css b/wp-content/themes/twentythirteen/style.css index 448de5a523..574192d47d 100644 --- a/wp-content/themes/twentythirteen/style.css +++ b/wp-content/themes/twentythirteen/style.css @@ -1366,6 +1366,13 @@ footer.entry-meta { opacity: 1; } +.gallery-columns-7 .gallery-caption, +.gallery-columns-8 .gallery-caption, +.gallery-columns-9 .gallery-caption { + display: none; +} + + /** * 5.5 Post Formats * ---------------------------------------------------------------------------- @@ -2881,6 +2888,10 @@ footer.entry-meta { padding: 0; width: 100%; } + + .gallery-caption { + display: none; + } } @media (max-width: 643px) {