# ヘッダー領域にボタンを追加する方法

**URL:** <https://meta.discourse.org/t/how-to-add-a-button-to-the-header-area/311749>\
**Category:** Development\
**Created:** [2024 年 6 月 12 日午後 1:07 UTC](https://meta.discourse.org/t/how-to-add-a-button-to-the-header-area/311749 "2024-06-12T13:07:36Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![ogulcan1787](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ogulcan1787/32/128589_2.png) [@ogulcan1787](https://meta.discourse.org/u/ogulcan1787)\
**Post date:** [2024 年 6 月 14 日午後 2:51 UTC](https://meta.discourse.org/t/how-to-add-a-button-to-the-header-area/311749/9 "2024-06-14T14:51:47Z")

</div>

> [@Arkshine](#):
>
> ```plaintext
> .floating-search-input-wrapper .floating-search-input {
> margin: auto;
> }
> 
> ```

匿名ユーザーにとっては正常に見えますが、ログインユーザーにとっては正常に見えません。原因は、検索バーを中央揃えするために使用したコードです。

---

_[View the full topic](https://meta.discourse.org/t/how-to-add-a-button-to-the-header-area/311749)._
