Hi
I want to theme the user login block with Sweaver. However, I cannot use Sweaver because the only time the user login block is visible is when I'm not logged in. Is there a possibility to do this?
Any help would be greatly appreciated. Thank you.
Regards, Nico
Comments
Comment #1
Anonymous (not verified) commentedSadly I don't think you can do much about that. That's the kind of moment you need to find someone to help you or learn CSS to do it yourself.
Comment #2
Nico7 commentedWould there be a way to apply changes with sweaver to all blocks? That would include the login block i guess...
Comment #3
Anonymous (not verified) commentedIt is possible but the wider your selection is, the more unexpected effects you'll get. Therefore I don't advise it.
Comment #4
Nico7 commentedThis is what I did:
Go to the end of your theme's style.css sheet and type:
#block-user-login {
'theme whatever you want'
}
Regards, Nico
Comment #5
Nico7 commentedHowever, thank you Quentin!
Comment #6
Anonymous (not verified) commentedYou're welcome even if I don't feel I did much there. Just in addition of what you said, you can add this css code online through advanced plugin (tab custom css)
Comment #7
Massakre commentedHi, I know this issue is old but I had the same one and found a workaround to theme the login form and wanted to share for the others:
1) Go to people and then permission, Sweaver and set the authorization of using sweaver to anonymous user.
2) Disconnect
3) Theme the login form
4) Reconnect, and remove permissions given to anonymous users
Note: If point 4 also remove the theming that anonymous users can see, re-enable the permissions given to them and go to configuration, user-interface, sweaver and deselect "activate sweaver editor".
(Don't forget to re-activate it when you want to use sweaver)