# Centering items inside a Grid component

**URL:** <https://forums.realmacsoftware.com/t/centering-items-inside-a-grid-component/47368>\
**Category:** Elements\
**Created:** [May 2, 2025, 11:54am UTC](https://forums.realmacsoftware.com/t/centering-items-inside-a-grid-component/47368 "2025-05-02T11:54:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![numericcitizen](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/numericcitizen/32/26930_2.png) [@numericcitizen](https://forums.realmacsoftware.com/u/numericcitizen)\
**Post date:** [May 2, 2025, 11:54am UTC](https://forums.realmacsoftware.com/t/centering-items-inside-a-grid-component/47368/1 "2025-05-02T11:54:41Z")

</div>

RapidWeaver Elements 0.7.12 (23532)

Why is it unintuitive? I’d like to center this image inside the Grid item on the left… see [this screenshot](https://cloud.numericcitizen.me/YRHgH86f).

---

<div class="post-metadata">

**Author:** ![RussOggi255](https://avatars.discourse-cdn.com/v4/letter/r/ee7513/32.png) [@RussOggi255](https://forums.realmacsoftware.com/u/RussOggi255)\
**Post date:** [May 2, 2025, 12:25pm UTC](https://forums.realmacsoftware.com/t/centering-items-inside-a-grid-component/47368/2 "2025-05-02T12:25:12Z")

</div>

Don’t you just use these controls?

 ![Screenshot 2025-05-02 at 13.23.38](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/3/1/315c48c34a868cef8b33a39c47944e34d9df7277.png)

---

<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:** [May 2, 2025, 12:28pm UTC](https://forums.realmacsoftware.com/t/centering-items-inside-a-grid-component/47368/3 "2025-05-02T12:28:55Z")

</div>

> [@numericcitizen](#):
>
> Why is it unintuitive? I’d like to center this image inside the Grid item on the left… see [this screenshot](https://cloud.numericcitizen.me/YRHgH86f).

I know sometimes it can feel unintuitive, and I think this is because it’s based on CSS (the more you know about CSS, the more it makes sense).

Anyway… as the image is in a container, you’ll need to set the left and right margins on the “Image” to “auto”. Here’s how to do it:

If you get stuck with any other type of layout or adjustment, just let us know and we’re always around to help 😊

**Edit:** Ah, I just remembered… I recorded a video and added a page in the manual a while back, as this question came up a few times:

> **[Center Align Components | RapidWeaver Elements Docs](https://docs.realmacsoftware.com/elements-docs/elements-app/how-to/center-align-components)**

---

<div class="post-metadata">

**Author:** ![numericcitizen](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/numericcitizen/32/26930_2.png) [@numericcitizen](https://forums.realmacsoftware.com/u/numericcitizen)\
**Post date:** [May 2, 2025, 2:19pm UTC](https://forums.realmacsoftware.com/t/centering-items-inside-a-grid-component/47368/4 "2025-05-02T14:19:16Z")

</div>

Tried that. Not working. I’ll look at @dan 's solution later today.
