Skip to content
Permalink
Browse files

Merge pull request #419 from kovshenin/master

_s: Add HTML5 support for WordPress galleries.
  • Loading branch information...
obenland committed Feb 27, 2014
2 parents 18928f5 + 9b0ae42 commit 5de96cdb729f3cfc21c117df2a298f49e7408d0b
Showing with 8 additions and 2 deletions.
  1. +6 −1 functions.php
  2. +2 −1 style.css
@@ -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' );
@@ -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 {

0 comments on commit 5de96cd

Please sign in to comment.
You can’t perform that action at this time.