The login panel header background color is set by the theme. I don't recommend that you modify the theme unless you really know what you are doing and consider also that any changes made there will be wiped out by the next upgrade.
What you can do instead is write come some custom css to override the theme for specific DOM elements like this:
1) create a css file (the name of the is not important, you can call it anything that you want, but the location is) with your custom specifications:
client/custom/lib/css/myCustomStyles.css
Code:
/* set the background color for the login panel heading element, the !important statement will override any other directives for the same element */ #login .panel-heading { background-color: yellow !important; }
custom/Espo/Custom/Resources/metadata/app/client.json
Code:
{ "cssList": [ "__APPEND__", "client/custom/lib/css/myCustomStyles.css" ], "developerModeCssList": [ "__APPEND__", "client/custom/lib/css/myCustomStyles.css" ] }
If you would like to learn how to set a custom landing (login) page with additional modifications, check this post: https://forum.espocrm.com/forum/deve...n-landing-page
Also for future reference, for those who might not know yet, you can find the specific css directives for any DOM element by using the browser console like this:
a) hover over the element that you interested on.
b) right click and choose "inspect"
This will bring up the console and in the right side of the screen you can look for the css directive controlling your element. (see the attached screen shot)
Leave a comment: