Title: Variable thumbnail size
Last modified: July 23, 2018

---

# Variable thumbnail size

 *  [mrpatulski](https://wordpress.org/support/users/mrpatulski/)
 * (@mrpatulski)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/variable-thumbnail-size/)
 * Hi!
    Is it possible to apply custom CSS to each thumbnail based on a class possible
   based on the attachment ID. We would like to vary the size and the spacing between
   the thumbnails in each gallery.
 * Thanks!

The topic ‘Variable thumbnail size’ is closed to new replies.

 * ![](https://ps.w.org/photoswipe-masonry/assets/icon-128x128.png?rev=3464802)
 * [Photoswipe Masonry Gallery](https://wordpress.org/plugins/photoswipe-masonry/)
 * [Support Threads](https://wordpress.org/support/plugin/photoswipe-masonry/)
 * [Active Topics](https://wordpress.org/support/plugin/photoswipe-masonry/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/photoswipe-masonry/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/photoswipe-masonry/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)

 * 0 replies
 * 1 participant
 * Last reply from: [mrpatulski](https://wordpress.org/support/users/mrpatulski/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/variable-thumbnail-size/)
 * Status: not resolved