# Help Using Grid/Flex

**URL:** <https://forums.realmacsoftware.com/t/help-using-grid-flex/44026>\
**Category:** RapidWeaver Elements\
**Created:** [July 31, 2024, 9:35pm UTC](https://forums.realmacsoftware.com/t/help-using-grid-flex/44026 "2024-07-31T21:35:36Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![ben](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/ben/32/28488_2.png) [@ben](https://forums.realmacsoftware.com/u/ben)\
**Post date:** [August 2, 2024, 10:33am UTC](https://forums.realmacsoftware.com/t/help-using-grid-flex/44026/21 "2024-08-02T10:33:58Z")

</div>

> [@trinube](#):
>
> I assumed it would be a property of the parent grid rather than the grid item.

There is center aligning a Grid Item within the Grid, and then there is center aligning the entire Grid. Two subtly different things 🙂

My examples showed how to center align the Grid Items inside a Grid.

If you wanted to center align the Grid within a parent Component then currently you would have to set a specific `width` on the Grid, and set the margin left and right to `auto`, like so:

 ![Screenshot 2024-08-02 at 12.31.14](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/3/8/381660603c7f9a240c21795d93dd6479043db670.png)

---

<div class="post-metadata">

**Author:** ![trinube](https://avatars.discourse-cdn.com/v4/letter/t/df788c/32.png) [@trinube](https://forums.realmacsoftware.com/u/trinube)\
**Post date:** [August 2, 2024, 11:33am UTC](https://forums.realmacsoftware.com/t/help-using-grid-flex/44026/22 "2024-08-02T11:33:37Z")

</div>

Thanks again Bon. When I mentioned the parent I wasn’t trying to centre the Grid, I was looking for centring options in the parent Grid instead of the Grid Items. Basically looking in the wrong place. Half the battle at the moment is finding where everything is.

Having said this, the above example will be useful in the future so I appreciate it.

[Previous page](https://forums.realmacsoftware.com/t/help-using-grid-flex/44026.md?page=1)
