.image-gallery .gallerybox{ padding:10px 0; } .image-gallery .gallerybox .thumb{ border:none; height:100% !important; }