Insert background on login page

Hello OpenEMR family, I need help inserting a background on the Login page, I tried several ways, but without success. can anybody help me? Attached is an image of what I need to do.

I put together a custom theme for a therapy clinic here: GitHub - DiscoverAndChange/oe-module-manning-custom-theme: Custom OpenEMR module theme that enhances OpenEMR Cobalt Blue theme for Manning client.

You can see how I customize the login page here: https://github.com/DiscoverAndChange/oe-module-manning-custom-theme/blob/main/public/assets/css/manning-theme.css

You should be able to use the same mechanics to override the background image of the login page.

Note that I write a custom module so I’m not hacking core code and can keepup with updates in the project. Others in the forum have done this kind of thing by modifying the themes page and recompiling. This approach lets a simple CSS to override values in the pages.

The key where I inject the CSS into the head of every page is here:

Hello Stephen Nielson, I replaced the files, as per your guidance, but I was unsuccessful. After this change, should I do any more configuration? Thank you in advance for your help.

Hi Bruno Mendes,
Add body background style in file templates\login\base.html.twig

body{
background-image: url(“bg_image.png”);
height: 100%;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}

output:

Thanks,
Param,
help@capminds.com