Hello Summer Sale!
Exclusive season-opening discount on TheGem theme.
Limited time offer.

Okay
  Public Ticket #1608327
PROBLEM WITH GALLERY
Closed

Comments

  • cyntax80 started the conversation

    Hello good afternoon.
    I have a problem with the gallery. I select that it is a "Grid" type gallery and that it has 2 columns, but I still get 3.
    What can be? I do not find the problem

  • [deleted] replied

    Hi,

    Please share admin access. We will try to inspect problem on your site.

  •   cyntax80 replied privately
  • cyntax80 replied

    Hello, you 

  • [deleted] replied

    In file wp-content/plugins/thegem-elements/inc/shortcodes/shortcodes.php find next code:

    function thegem_gallery_shortcode($atts) {
        extract(shortcode_atts(array(
            'gallery_gallery' => '',
            'gallery_type' => 'slider',
            'gallery_slider_layout' => 'fullwidth',
            'gallery_layout' => '3x',
            'no_thumbs' => 0,
            'pagination' => 0,
            'autoscroll' => 0,
            'gallery_style' => 'justified',
            'gallery_fullwidth_columns' => '4',
            // 'gallery_no_gaps' => '',
            'gallery_hover' => 'default',
            'gallery_item_style' => 'default',
            'gallery_title' => '',
            'gaps_size' => '',
            'loading_animation' => 'move-up',
            'gallery_effects_enabled' => '',
            'metro_max_row_height' => 380
        ), $atts, 'gem_gallery'));

    And replace 'gallery_layout' => '3x', with 'gallery_layout' => '2x',.