# How can I change the Login Required page style?

**URL:** <https://meta.discourse.org/t/how-can-i-change-the-login-required-page-style/40009>\
**Category:** Development\
**Created:** [2016 年 2 月 22 日午後 9:49 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:** 13

<div class="post-metadata">

**Author:** ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**Post date:** [2017 年 10 月 15 日午後 4:38 UTC](https://meta.discourse.org/t/how-can-i-change-the-login-required-page-style/40009/13 "2017-10-15T16:38:21Z")

</div>

Would it help @Berto and @mcwumbly if the the `login_required.welcome_message` was wrapped in a `div` itself? Beyond that, it doesn’t look like much can be added because the content of `welcome_message` is passed through a HTML sanitizer.

Instead of:

```plaintext
<div class="contents clearfix body-page">
    <span id="ember772" class="ember-view">
    </span>
    <h2><a href="#welcome">Welcome to Dev Discourse</a></h2>
    <p>An account is required. Please create an account or log in to continue.</p>
    <button title="Log In" id="ember773" class="btn-primary login-button btn btn-icon-text ember-view">
        <i class="fa fa-user d-icon d-icon-user"></i>
        <span class="d-button-label">
            Log In
        </span>
    </button>
</div>

```

You would have:

```plaintext
<div class="contents clearfix body-page">
    <span id="ember772" class="ember-view">
    </span>
    <div class='login-required'>
        <h2><a href="#welcome">Welcome to Dev Discourse</a></h2>
        <p>An account is required. Please create an account or log in to continue.</p>
    </div>
    <button title="Log In" id="ember773" class="btn-primary login-button btn btn-icon-text ember-view">
        <i class="fa fa-user d-icon d-icon-user"></i>
        <span class="d-button-label">
            Log In
        </span>
    </button>
</div>

```

---

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