# Varying row sizes in Grid

**URL:** <https://forums.realmacsoftware.com/t/varying-row-sizes-in-grid/57250>\
**Category:** Elements\
**Created:** [August 8, 2026, 10:04am UTC](https://forums.realmacsoftware.com/t/varying-row-sizes-in-grid/57250 "2026-08-08T10:04:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paulss](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/paulss/32/21473_2.png) [@Paulss](https://forums.realmacsoftware.com/u/Paulss)\
**Post date:** [August 8, 2026, 10:04am UTC](https://forums.realmacsoftware.com/t/varying-row-sizes-in-grid/57250/1 "2026-08-08T10:04:30Z")

</div>

I have inserted a grid intending to link thumbnails to various galleries. Each thumbnail has a caption beneath and I need to make the caption row a lesser height than the thumbnail row (attachment show how it looks now). How can I do this?

 ![Screenshot 2026-08-08 at 10.54.49](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/3/6/3655e010a22fa1fea7b9d1174904a67b06d5bc17.jpeg)

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [August 8, 2026, 11:38am UTC](https://forums.realmacsoftware.com/t/varying-row-sizes-in-grid/57250/2 "2026-08-08T11:38:11Z")

</div>

You want to put the image and text in a flex component, that will keep them together.

I’ve recorded a video for you, that shows how to do it.

We also have plenty of videos in the Elements Docs that show you how to do various layouts and use the grid and flex components.

- [Container Component](https://docs.realmacsoftware.com/elements-docs/using-elements/components/layout-components/container)
- [Grid Component](https://docs.realmacsoftware.com/elements-docs/using-elements/components/layout-components/grid)
- [Flex Component](https://docs.realmacsoftware.com/elements-docs/using-elements/components/layout-components/flex)

Let me know if you have any other questions.

---

<div class="post-metadata">

**Author:** ![Paulss](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/paulss/32/21473_2.png) [@Paulss](https://forums.realmacsoftware.com/u/Paulss)\
**Post date:** [August 8, 2026, 2:54pm UTC](https://forums.realmacsoftware.com/t/varying-row-sizes-in-grid/57250/3 "2026-08-08T14:54:25Z")

</div>

Thanks Dan, That was exactly what I was after.
