?>
<?php if (!defined ('ABSPATH')) die ('No direct access allowed'); ?><?php if (!empty ($gallery)) : ?>
+<div class="ngg-galleryoverview" id="<?php echo $gallery->anchor ?>">
<!-- Thumbnails -->
<?php $i = 0; ?>
<ul class="gallery row small-block-grid-3 medium-block-grid-6 large-block-grid-8">
<!-- Pagination -->
<?php echo $pagination ?>
</ul>
-
+</div>
<?php endif; ?>
?>
<?php if (!defined ('ABSPATH')) die ('No direct access allowed'); ?><?php if (!empty ($gallery)) : ?>
+<div class="ngg-galleryoverview" id="<?php echo $gallery->anchor ?>">
<!-- Thumbnails -->
<?php $i = 0; ?>
<ul class="gallery row small-block-grid-1 medium-block-grid-2 large-block-grid-3">
<!-- Pagination -->
<?php echo $pagination ?>
</ul>
+</div>
<?php endif; ?>