Support » Fixing WordPress » Photo Gallery Columns in 2.8

  • Resolved photox2h


    posted yesterday:

    got no response so I thought I’d try again.

    In short – when I go to edit a gallery or photos, and go down to “Gallery Settings” and choose the number of gallery columns – its not working – it is always one less – with odd gaps.

    If I choose 3 columns, it gives me 2 then a space, then the 3rd photo below — then two spaces. Its an odd 2-1, 2-1, 2-1 all down the page.

    I don’t think its a space issue – even if I choose 2 columns, its just 1 column all down the page.(see “Fun”) category.

    site is:

    Is there a fix for this? or am I just stuck until 2.8.1??

    please let me know!

    Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • pulled media.php from FTP, code says ‘columns’ => 3,

    selecting 2 in the admin editor gives me 1, selecting 3 gives me the 2-1 situation.

    any ideas?

    I find that 2.8 has broken the Photo Gallery, too. I haven’t tried posting a new gallery, but in all my posts that included a gallery of clickable thumbnails with the built-in gallery feature of WordPress, at the bottom of the post, there is now a second, vertical, listing of thumbnails and the html code of the post is at the bottom of the page.

    It’s only the posts with image galleries that are messed up, everything else is working fine.

    The galleries were perfect with 2.7.

    I wish I had a “fix” for you, but thought I would at least verify your claim that there is a problem in 2.8.

    PS, you can see what I mean if you go to

    And click on Nastasi Family Pets in the left sidebar, and then any of the individual animals’ names.



    Forum Moderator

    @photox2h: It’s a design/CSS issue. Your main posting area simply isn’t wide enough to display 3 150px wide images side by side with that amount of whitespace between them.

    Try editing style.css (line 164) {

    and amending padding:10px; to padding:0;.

    Esmi — You. Are. Awesome!! that worked!

    Thanks so much for your help. 🙂

    This fixed my problem as well! Thanks @esmi! I had to change the width to 100px as well, but it looks great now.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Photo Gallery Columns in 2.8’ is closed to new replies.