Title: Grid items equal height
Last modified: April 26, 2023

---

# Grid items equal height

 *  Resolved [e dev](https://wordpress.org/support/users/efishinsea/)
 * (@efishinsea)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/grid-items-equal-height/)
 * Is there a way to set the grid items to be equal height (so they all align, regardless
   of the content in them) rather than “masonry”? The current options don’t allow
   a true “grid” layout that I can see.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [Ketan Patel](https://wordpress.org/support/users/patelketan/)
 * (@patelketan)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/grid-items-equal-height/#post-16691006)
 * Hello,
 * Thanks for reaching out here…
 * Can you please share your website page link?
 * Please explain with the screenshot of your equal height issue.
 * Thanks,
 *  Thread Starter [e dev](https://wordpress.org/support/users/efishinsea/)
 * (@efishinsea)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/grid-items-equal-height/#post-16692482)
 * The site is local only at this point, but this is pretty clear question.
 * This is a Grid:
 * ![](https://i0.wp.com/snipboard.io/nGBI6W.jpg?ssl=1)
 * Your plugin’s layout with a little added CSS:
 * ![](https://i0.wp.com/snipboard.io/6eTxd8.jpg?resize=537%2C370&ssl=1)
 * I simply want each item to be the same height/width and align in a grid.
 *  [Ketan Patel](https://wordpress.org/support/users/patelketan/)
 * (@patelketan)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/grid-items-equal-height/#post-16694414)
 * Hello,
 * Sorry for the inconvenience, you are using a filter shortcode. filter shortcode
   depended on a masonry JS so it’s not possible to set equal height.
 * Thanks,
 *  Thread Starter [e dev](https://wordpress.org/support/users/efishinsea/)
 * (@efishinsea)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/grid-items-equal-height/#post-16695922)
 * Interesting. So your plugin says “**Post grid and filter ultimate**” the logo
   of which depicts a grid with the filter:
 * ![](https://i0.wp.com/ps.w.org/post-grid-and-filter-ultimate/assets/banner-772x250.
   png?resize=772%2C250&ssl=1)
 * but in fact, you are telling me it is not capable of displaying a true grid?
 *  [Ketan Patel](https://wordpress.org/support/users/patelketan/)
 * (@patelketan)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/grid-items-equal-height/#post-16700219)
 * Hello,
 * Our plugin has two shortcodes available.
 * Post Grid Shortcode – [pgaf_post_grid]
   Post Filter Shortcode – [pgaf_post_filter]
 * Thanks
 *  [alfy40](https://wordpress.org/support/users/alfy40/)
 * (@alfy40)
 * [3 years ago](https://wordpress.org/support/topic/grid-items-equal-height/#post-16794826)
 * For anyone looking to obtain a perfect grid (i.e. all item heights the same) 
   with the filter shortcode, it’s of course possible: simply hardcode the title
   h2 container height to a determined amount and you can get a grid.
 * This worked for me:
 * [@media](https://wordpress.org/support/users/media/) only screen and (min-width:
   640px) {
    .pgafu-post-grid-main .pgafu-columns .pgafu-post-grid h2 { max-height:
   147px; height: 147px !important; overflow: hidden;
 * }
   }

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Grid items equal height’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/post-grid-and-filter-ultimate_a9d5d4.
   svg)
 * [Post grid and filter ultimate](https://wordpress.org/plugins/post-grid-and-filter-ultimate/)
 * [Support Threads](https://wordpress.org/support/plugin/post-grid-and-filter-ultimate/)
 * [Active Topics](https://wordpress.org/support/plugin/post-grid-and-filter-ultimate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-grid-and-filter-ultimate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-grid-and-filter-ultimate/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [alfy40](https://wordpress.org/support/users/alfy40/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/grid-items-equal-height/#post-16794826)
 * Status: resolved