# Center text with respect to parent container, not flexbox

**URL:** <https://forum.inductiveautomation.com/t/center-text-with-respect-to-parent-container-not-flexbox/102721>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [February 22, 2025, 12:25am UTC](https://forum.inductiveautomation.com/t/center-text-with-respect-to-parent-container-not-flexbox/102721 "2025-02-22T00:25:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 22, 2025, 1:06am UTC](https://forum.inductiveautomation.com/t/center-text-with-respect-to-parent-container-not-flexbox/102721/2 "2025-02-22T01:06:58Z")

</div>

Do you work with @danielps1818 ?

See this topic:

> [@Center text to view instead of Flex Component](https://forum.inductiveautomation.com/t/center-text-to-view-instead-of-flex-component/102685):
>
> Hi! We designed a header that goes on the top of all the views. The person that did it like 2 years ago didn't center the text and I'm trying to fix it. It's a Flex View that contains the following: | Icon | Logo | Flex Container 1 | User Icon | Conf Icon | Flex Container 2 | All of those have a fix width except the Flex Container 1 that has the view tittle and has grow:1. This means that the tittle is centered to that Flex Container and not the view. Any idea on how to fix it? If I could …

---

_[View the full topic](https://forum.inductiveautomation.com/t/center-text-with-respect-to-parent-container-not-flexbox/102721)._
