2

How can I override theme for the user login page in Drupal 7? By default, that page takes the default theme style.

  • What do you mean by override? Do you want to use different theme for user login page ? or Do you want to add css to customize user login page look & feel different from default theme ? – Anil Sagar Sep 21 '12 at 7:04
  • Yes, I mean - feel different from default theme – Fasal Sep 21 '12 at 8:02
4

You can separate template file for overriding the user-login page.

Just create a template file called page--user--login.tpl.php file for theming the login page.

| improve this answer | |
0

To know all the possibility about functions, variables, and template files for a specific block, region, or page, install the Devel, and Theme developer modules.

In the bottom left corner of your page, you will find the checkbox that actives the Theme developer module. Enable it, and click on a point of your page: You will find all the information about how to theme that part of the page.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.