# NO BUG: Text-align: center not work

**URL:** <https://forum.bricksbuilder.io/t/no-bug-text-align-center-not-work/35793>\
**Category:** Bugs\
**Tags:** v2-0-1\
**Created:** [September 25, 2025, 9:08am UTC](https://forum.bricksbuilder.io/t/no-bug-text-align-center-not-work/35793 "2025-09-25T09:08:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jake](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/j/f475e1/32.png) [@Jake](https://forum.bricksbuilder.io/u/Jake)\
**Post date:** [September 25, 2025, 9:08am UTC](https://forum.bricksbuilder.io/t/no-bug-text-align-center-not-work/35793/1 "2025-09-25T09:08:52Z")

</div>

**Browser** : Chrome 110  
**OS** : macOS .  
**URL** : [Upload and share screenshots and images - print screen online | Snipboard.io](https://snipboard.io/lHvx9c.jpg)  
[Upload and share screenshots and images - print screen online | Snipboard.io](https://snipboard.io/6IiLrm.jpg)

cannot make the icon center.

---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [September 25, 2025, 9:23am UTC](https://forum.bricksbuilder.io/t/no-bug-text-align-center-not-work/35793/2 "2025-09-25T09:23:29Z")

</div>

Hi Jake,  
Thanks so much for your report!

The container is apparently a grid, isn’t it? The correct CSS property would be `justify-self: center`, but since there is no setting for it, just add this to the mini cart custom CSS:

```auto
%root% {
  justify-self: center;
}

```

Best regards,  
timmse

---

<div class="post-metadata">

**Author:** ![Jake](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/j/f475e1/32.png) [@Jake](https://forum.bricksbuilder.io/u/Jake)\
**Post date:** [September 26, 2025, 12:03am UTC](https://forum.bricksbuilder.io/t/no-bug-text-align-center-not-work/35793/3 "2025-09-26T00:03:23Z")

</div>

> [@timmse](#):
>
> ```auto
> %root% {
> justify-self: center;
> }
> 
> ```

Didn’t work.

[![](https://snipboard.io/X6AJVY.jpg) ](https://snipboard.io/X6AJVY.jpg)

---

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [September 26, 2025, 8:52am UTC](https://forum.bricksbuilder.io/t/no-bug-text-align-center-not-work/35793/4 "2025-09-26T08:52:28Z")

</div>

Well, `right` isn’t a valid value for this property:

> **[justify-self - CSS | MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/justify-self)**
>
> The CSS justify-self property sets the way a box is justified inside its alignment container along the appropriate axis.
