Hello,

I would like to customize my user login page and register but I don't know how to do this with Drupal 8.

I have been searching on internet and I found this link : https://www.drupal.org/docs/7/theming/overriding-themable-output/customizing-and-overriding-user-login-page-register-and

But this is for Drupal 6 and 7, anyone can tell me what's different from D7 ?

Thank you, I'm a novice so don't use technical terms.

LD 

Comments

GeekMechanic’s picture

The way I learned how to theme any view in Drupal 8 is to override the Twig template by making a copy of the default template you are using and making changes to it there. Here is one tutorial that explains a little bit about it and if you want more just Google for override Twig Drupal. 

http://redcrackle.com/blog/drupal-8/theme-views-templates

maria.dis’s picture

It is not work for that way. Because even if you have a twig template for page--user--login.html.twig, the form is inside {{ content }}, so the only thing you could do is for the context, not the form itself.

thirstysix’s picture

Customize Drupal Login, Password and Register pages with Background images (8.x). Check this below module.

https://www.drupal.org/project/simplelogin