# Como posso alterar o estilo da página de Login Required?

**URL:** <https://meta.discourse.org/t/how-can-i-change-the-login-required-page-style/40009>\
**Category:** Development\
**Created:** [Fevereiro 22, 2016, 9:49pm UTC](https://meta.discourse.org/t/how-can-i-change-the-login-required-page-style/40009 "2016-02-22T21:49:07Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)\
**Post date:** [Outubro 15, 2017, 3:40pm UTC](https://meta.discourse.org/t/how-can-i-change-the-login-required-page-style/40009/12 "2017-10-15T15:40:00Z")

</div>

We added divs without classes into our customized `login_required.welcome_message` and then are using selectors like this the following to target that text:

```css
.anon .contents.body-page div div {
}

.anon .contents.body-page div div:nth-of-type(2) {
}

```

For the rest of the page, we’re using overrides on the following selectors:

```css
html.anon {
}

.anon .contents {
}

.anon .contents.body-page h1 a {
}

.anon .contents.body-page h3 {
}

.anon .contents.body-page h2 {
}

.anon .contents.body-page div p {
}

.anon .contents.body-page button {
}

.anon .contents.body-page button i {
}

.anon .contents.body-page {
}

```

---

_[View the full topic](https://meta.discourse.org/t/how-can-i-change-the-login-required-page-style/40009)._
