Title: Suggesting a patch introducing One Column layout
Last modified: August 16, 2018

---

# Suggesting a patch introducing One Column layout

 *  Resolved [dk2k2014](https://wordpress.org/support/users/dk2k2014/)
 * (@dk2k2014)
 * [8 years ago](https://wordpress.org/support/topic/suggesting-a-patch-introducing-one-column-layout/)
 * Hi guys,
    I use version 1.6.19 I want to suggest a patch. In addition to a new
   layout it fixes hardcoded class col-sm-6
 * — D:/user/Downloads/responsive-photo-gallery.3.4.7/responsive-photo-gallery/responsive-
   gallery-settings.php Thu Aug 16 15:00:40 2018
    +++ D:/user/Documents/responsive-
   photo-gallery.3.4.7/responsive-photo-gallery/responsive-gallery-settings.php 
   Thu Aug 16 14:15:17 2018 @@ -74,6 +74,7 @@ <td> <select name=”wl-gallery-layout”
   id=”wl-gallery-layout”> <optgroup label=”Select Gallery Layout”> + <option value
   =”col-md-12″ <?php if($WL_Gallery_Layout == ‘col-md-12’) echo “selected=selected”;?
   >><?php _e(“One Column”, WEBLIZAR_RPG_TEXT_DOMAIN); ?></option> <option value
   =”col-md-6″ <?php if($WL_Gallery_Layout == ‘col-md-6’) echo “selected=selected”;?
   >><?php _e(“Two Column”, WEBLIZAR_RPG_TEXT_DOMAIN); ?></option> <option value
   =”col-md-4″ <?php if($WL_Gallery_Layout == ‘col-md-4’) echo “selected=selected”;?
   >><?php _e(“Three Column”, WEBLIZAR_RPG_TEXT_DOMAIN); ?></option> </optgroup>
 *  — D:/user/Downloads/responsive-photo-gallery.3.4.7/responsive-photo-gallery/
   responsive-gallery-short-code.php Thu Aug 16 15:00:40 2018
    +++ D:/user/Documents/
   responsive-photo-gallery.3.4.7/responsive-photo-gallery/responsive-gallery-short-
   code.php Thu Aug 16 14:36:51 2018 @@ -156,7 +156,23 @@ }
 *  ?>
    – <div class=”<?php echo $WL_Gallery_Layout; ?> col-sm-6 wl-gallery” > +
   <div class=”<?php echo $WL_Gallery_Layout; + switch ($WL_Gallery_Layout) { + 
   case “col-md-4″: + echo ” col-sm-4″; + break; + case “col-md-6″: + echo ” col-
   sm-6″; + break; + case “col-md-12″: + echo ” col-sm-12″; + break; + default :
   + // not supposed to happen! + echo “error!”; + break; + } + ?> wl-gallery” >
   <div class=”b-link-<?php echo $WL_Hover_Animation; ?> b-animate-go”> ” alt=”<?
   php echo $slide_alt; ?>” class=”gall-img-responsive”> <div class=”b-wrapper”>
 * Link to a page with single column layout applied: [http://vosmon.ru/treba/](http://vosmon.ru/treba/)

Viewing 1 replies (of 1 total)

 *  Plugin Support [weblizar_support](https://wordpress.org/support/users/weblizar_support/)
 * (@weblizar_support)
 * [8 years ago](https://wordpress.org/support/topic/suggesting-a-patch-introducing-one-column-layout/#post-10596370)
 * Hi dk2k2014,
 * – Thank you for your feedback
    – In the next release, we will add this feature–
   If you like and enjoy our plugin please [review ](https://wordpress.org/plugins/responsive-photo-gallery/)
   us.
 * Thanks.

Viewing 1 replies (of 1 total)

The topic ‘Suggesting a patch introducing One Column layout’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/responsive-photo-gallery_443b39.svg)
 * [Responsive Photo Gallery](https://wordpress.org/plugins/responsive-photo-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/responsive-photo-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/responsive-photo-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/responsive-photo-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/responsive-photo-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/responsive-photo-gallery/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [weblizar_support](https://wordpress.org/support/users/weblizar_support/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/suggesting-a-patch-introducing-one-column-layout/#post-10596370)
 * Status: resolved