# Wie zentriere ich Text in der Vorschau eines Themas?

**URL:** <https://meta.discourse.org/t/how-to-center-text-on-topic-preview/110401>\
**Category:** Product Support\
**Created:** [1. März 2019 um 00:01 UTC](https://meta.discourse.org/t/how-to-center-text-on-topic-preview/110401 "2019-03-01T00:01:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)\
**Post date:** [1. März 2019 um 00:22 UTC](https://meta.discourse.org/t/how-to-center-text-on-topic-preview/110401/2 "2019-03-01T00:22:30Z")

</div>

What about simply:

```CSS
.main-link {
    display: flex;
    align-items: center;
}

```

It should be okay in your case.

---

_[View the full topic](https://meta.discourse.org/t/how-to-center-text-on-topic-preview/110401)._
