diff --git a/functions.php b/functions.php index 84af115..928053f 100644 --- a/functions.php +++ b/functions.php @@ -55,7 +55,12 @@ function _s_setup() { ) ) ); // Enable support for HTML5 markup. - add_theme_support( 'html5', array( 'comment-list', 'search-form', 'comment-form', ) ); + add_theme_support( 'html5', array( + 'comment-list', + 'search-form', + 'comment-form', + 'gallery', + ) ); } endif; // _s_setup add_action( 'after_setup_theme', '_s_setup' ); diff --git a/style.css b/style.css index 507a99f..f2f133a 100644 --- a/style.css +++ b/style.css @@ -630,7 +630,8 @@ a:active { height: auto; max-width: 90%; } -.site-main .gallery dd { +.site-main .gallery dd, +.site-main .gallery figcaption { margin: 0; } .site-main .gallery-columns-4 .gallery-item {