Login page CSS control

How can i control what is going on in the space marked in Red in my image ?
I am not finding the css class to control only that space . thanks .

1 Like

I think the closest you can get is that when there is no logged in user the class .anon is added to the html element.

.anon #main-outlet {
  background: red;
}

The problem with this is that it will also target the FAQ Terms of Service Privacy pages for anonymous users. Having a class like .login added to the login page would be useful for this kind of thing.

2 Likes

Sure can we make sure the classes are present on this page @techapj?

@jomaxro added login-required class for /login page in:

https://github.com/discourse/discourse/commit/64e5532b90fe9fc594f6d9bf424d18e0af46e01e

6 Likes