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.
A dev version is up at http://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:
http://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.
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!
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.