#gallery-1 { margin: auto; } #gallery-1 .gallery-item { float: right; margin-top: 10px; text-align: center; width: 50%; } #gallery-1 img { border: 2px solid #cfcfcf; } #gallery-1 .gallery-caption { margin-left: 0; } /* see gallery_shortcode() in wp-includes/media.php */ #gallery-2 { margin: auto; } #gallery-2 .gallery-item { float: right; margin-top: 10px; text-align: center; width: 50%; } #gallery-2 [...]