Fix for NextGen Gallery Internet Explorer

I was having an issue with NextGen Gallery plugin for WordPress.  The gallery was showing skinny thumbnails in Internet Explorer 8.  They looked fine in Firefox and Safari.  I put this code

WordPress Training Phoenix

WordPress Training

into the style sheet and the problem was solved.

Just copy and paste this code into your WordPress Style Sheet to fix the NextGen issue with IE8

.ngg-gallery-thumbnail {width:160px;padding-right:10px;}

You will need to put your own width in.  I would recommend using the measureit firefox addon for a quick down and dirty measurement.

Hope that this helps.  Let me know of any other WordPress Tutorials that you would like to see.


  1. Sean says:

    Im having trouble with the gallery in IE as well. Any suggestions. I put the code in above and in firefox its fine. However, in IE it does not work and the columns of thumbnails are not displaying properly.

  2. Lukas says:

    Even IE6 and IE7 were displaying the thumbnails properly- IE8 was the odd one out. This cured the issue. Thanks!

  3. Ben says:

    Simplified it a bit but same idea and it worked fine in IE8 after this change to the stylesheet:

    .ngg-gallery-thumbnail {width:120px;}

    Check the site to see the results by clicking on my name above.

    Thanks for the tip!

  4. Micky says:

    Thanks for this, perfect and simple solution. I was having trouble with this plug-in – firstly in ie7 – then in ie8 after upgrade to 1.7.4


  5. Ray says:


    Many thanks for this fix.

    Worked very well and saved me time!



  6. patatacomix says:

    I have the same problem but I’am a biginner on wordpress and don’t understand where I can exactly paste the code.
    Thanks and sorry for my english.

  7. Eduardo de Azevedo says:


  8. Darren says:

    Yes!! I adjusted the width and BAM! Fixed!

    Thank you very much!

    Info: I searched ‘nextgen gallery not working in ie8′ and i think you were 5th or 6th on first page of Google.

    Thanks again.

  9. ilan says:

    its working

Speak Your Mind