Login page CSS control

(Stav Sitnikov) #1

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 .

(Simon Cossar) #2

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.

(Jeff Atwood) #3

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

(system) #4

(Arpit Jalan) #5

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

(Jeff Atwood) #6