What is the best way to edit css for login page

We would like to change the look and feel of the login page in the openmrs reference application (2.3 and/or 2.4) We want to edit the css or override the existing css (using !important). where can we put in this css pls? We would appreciate any advice or pointers.

Thanks.

Add a custom login.css under webapp/resources/styles of referenceapplication module containing the login view and attach the style-sheet using ui.includeCss("referenceapplication", "login.css") statement on the top of the page.

Note: Update the CSS selectors (id and class) of the UI elements on the login page to take up the custom CSS

1 Like

Thanks so much, @themoonraker13

Pls where can i find the referenceapplication module git page? And does it have basic instructions on building it?

Thanks!

Just

mvn clean install

as for most modules.

@mksd Thanks so much!