how can i modify the login html? I specifically want to add an image below the title.

enter image description here

2 Answers 2


You can add a logo to the login page by uploading one to Settings → General Login Page Logo.

If you need further tweaking, you could use the Control Panel CSS plugin.

I wouldn't recommend modifying Craft's templates.


I solved this by adding a module that is supposed to act as a sitemodule with different functions I use over most of my projects.

Inside that module you register an asset bundle that ultimately adds a CSS stylesheet to the controlpanel.

This way you can alter the look of the loginpage without tampering with any of Crafts innards. As can be seen from the screenshot, I have hidden the title and added another background image.

example login page modified with custom css via a Craft CMS (Yii) module

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.