# Removing extra buttons from "Login required" screen

**URL:** <https://meta.discourse.org/t/removing-extra-buttons-from-login-required-screen/34167>\
**Category:** UX\
**Created:** [10월 5, 2015, 11:25오후 UTC](https://meta.discourse.org/t/removing-extra-buttons-from-login-required-screen/34167 "2015-10-05T23:25:13Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [11월 3, 2016, 6:50오후 UTC](https://meta.discourse.org/t/removing-extra-buttons-from-login-required-screen/34167/11 "2016-11-03T18:50:57Z")

</div>

The css class `static-login` is added to the `body` tag of the login-required page. To hide the login button in the header do something like this:

```
.static-login .d-header .login-button {
    display: none;
 }

```

To hide the login button that is in the main content area do something like this:

```
.static-login #main-outlet .login-button {
    display: none;
}

```

---

_[View the full topic](https://meta.discourse.org/t/removing-extra-buttons-from-login-required-screen/34167)._
