# 如何在主标题中居中徽标？

**URL:** <https://meta.discourse.org/t/how-do-i-center-the-logo-on-the-main-header/83577>\
**Category:** Product Support\
**Created:** [2018 年3 月 22 日 17:18 UTC](https://meta.discourse.org/t/how-do-i-center-the-logo-on-the-main-header/83577 "2018-03-22T17:18:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

作者： ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)\
发布日期： [2018 年3 月 22 日 17:59 UTC](https://meta.discourse.org/t/how-do-i-center-the-logo-on-the-main-header/83577/2 "2018-03-22T17:59:03Z")

</div>

Try this:

```
.navigation-topics .d-header .contents {
  text-align: center;
}
.navigation-topics .d-header .title {
  float: none;
  display: inline-block;
}

```

---

_[View the full topic](https://meta.discourse.org/t/how-do-i-center-the-logo-on-the-main-header/83577)._
