• Regardless of the number of gallery thumbnail columns I select, it automatically defaults to 3. Also, the gallery is adding an empty gallery div at the bottom. Anyone else run into this problem?

Viewing 10 replies - 1 through 10 (of 10 total)
  • It could be that you simply don’t have the physical space on your pages to display more than 3 columns of images.

    I have the same problem, however I am trying to display only 2 columns. Whatever the number in the columns setting I get a 3 column layout. Anyone have any ideas?

    ‘[gallery link="file" columns="2"]‘

    Thanks for any help or advice.

    Site url?

    A dev version is up at https://tinyurl.com/plvttg

    I have tried to edit the media.php file to set the default to 2 columns, however that does not seem to have any effect. I don’t believe it’s space (width) related as I am trying to use less space than available.

    esmi, any help or hint is greatly appreciated.

    So I cannot find where or how to change the width and space between the 3 images that I want to display in a 3-columned row. I am choosing 3 column everytime when I post a gallery but it seems the spacing needs to be adjusted because when I choose 3, it just squeezes 2 images together and starts a new row. Anyone know how I can achieve this? Look at it at:

    https://www.squishyfox.com

    I want to display a 3-row. I looked in my style.css and couldn’t find anything for the gallery css.

    @ squishyfox

    I have the same problem, gallery with 3 columns and line break – did you find the solution?

    https://www.holgerseidel.com/photo/2009/11/test-mit-gallery/

    Try adding:

    .container #gallery-1 .gallery-item {width:auto !important;}

    to the bottom of style.css.

    Try adding:
    .container #gallery-1 .gallery-item {width:auto !important;}
    to the bottom of style.css.

    Wow. esmi – thanks a lot!!
    You saved my day. Now it works.

    Just a mention that this fixes the gallery columns problem in the Modularity theme, happy days!

    ESMI = LEGEND!

    madcapfrenzy

    (@madcapfrenzy)

    That small simple code worked like a charm for me also. Thank you soooo much esmi. You saved me so much time and coding that I don’t know how to do. hehe.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Image gallery columns not working’ is closed to new replies.