Remove template-breaking breakpoints for nextgen galleries
authorLaury <laury@gaslightmedia.com>
Fri, 3 May 2019 18:10:03 +0000 (14:10 -0400)
committerLaury <laury@gaslightmedia.com>
Fri, 3 May 2019 18:10:03 +0000 (14:10 -0400)
nggallery/gallery-glmphotos-8.php
nggallery/gallery-glmphotos-narrow.php
nggallery/gallery-glmphotos.php

index 5c5d662..b929754 100644 (file)
@@ -44,7 +44,7 @@ Follow variables are useable :
         </li>
        <?php if ( $image->hidden ) continue; ?>
        <?php if ( $gallery->columns > 0 && ++$i % $gallery->columns == 0 ) { ?>
-       <br style="clear: both" />
+       <!--<br style="clear: both" />-->
        <?php } ?>
        <?php endforeach; ?>
         </ul>
index 9388984..dd431ea 100644 (file)
@@ -44,7 +44,7 @@ Follow variables are useable :
         </li>
        <?php if ( $image->hidden ) continue; ?>
        <?php if ( $gallery->columns > 0 && ++$i % $gallery->columns == 0 ) { ?>
-       <br style="clear: both" />
+       <!--<br style="clear: both" />-->
        <?php } ?>
        <?php endforeach; ?>
         </ul>
index cc6369a..2decd8d 100644 (file)
@@ -20,7 +20,7 @@ Follow variables are useable :
         <ul class="gallery small-block-grid-2 medium-block-grid-3 large-block-grid-4">
        <?php foreach ( $images as $image ) : ?>
         <li>
-            <div id="ngg-image-<?php echo $image->pid ?>" class="ngg-gallery-thumbnail-box imgBorderMe" <?php echo $image->style ?> >
+            <div id="ngg-image-<?php echo $image->pid ?>" class="ngg-gallery-thumbnail-box imgBorderMe">
 
                 <div class="ngg-gallery-thumbnail" >
                     <a href="<?php echo nextgen_esc_url($image->imageURL) ?>"
@@ -54,7 +54,7 @@ Follow variables are useable :
         </li>
        <?php if ( $image->hidden ) continue; ?>
        <?php if ( $gallery->columns > 0 && ++$i % $gallery->columns == 0 ) { ?>
-       <br style="clear: both" />
+       <!--<br style="clear: both" />-->
        <?php } ?>
        <?php endforeach; ?>
         </ul>