How can I add an image in the login form?

I want to add an image in to the login screen.
And i also want to change “E” icon to my own.

Is that possible ??

To add image on Login Page

Add this code above this line
$('.navbar-home').html('<img class="erpnext-icon" src="'+ frappe.urllib.get_base_url()+'/assets/erpnext/images/<imagefileName>" />');

Image Should be present in this erpnext/erpnext/public/images/

After adding image, build and restart bench (bench build && bench restart) from frappe-bench folder

1 Like

I’m not able to find this file (login.html) which is indicated in this link

login.html path/file

1 Like

@ROHAN_JAIN1 thanks a lot

In version 12 the app logo is configurable via hooks, right?

Hi Rohan,
I would not advise to Change the code on any native doctype or file…My recommendation would be to use the same js code you mentioned on the Website Script Doctype.

This way you’ll be safe when doing and update.

You can add it via Website Settings after this merge.


In previous versions, you had to change hooks for app_name and app_logo_url


Not showing Login Menu in Website -->Website Settings
in : ERPNext: v13.11.1 (version-13) Frappe Framework: v13.11.0 (version-13)

pls recheck

It’s in develop branch.

1 Like

Thanks for the information