EmpowerID provides an overrides directory within the EmpowerID Web CDN that can be used to customize the theme of the Web site. This allows you to change the default look and feel of the site to match your corporate brand or that of a partner who uses the site. To do so, you place the appropriate CSS files, images and scripts within the specified folders of the overrides directory. EmpowerID then "picks up" your files from the overrides directory, replacing the application's default files with them. This topic demonstrates this by showing you how to change the logo that appears on each page of the Web site.
Changing the background image on the Login page involves overriding the CSS class that defines the image. In EmpowerID, this class is the eid-login-custom class, which contains properties that define the class. When replacing the image, you override the background-image property so that it points to the new image.
To override the default background image, you create an overrides.css file with a custom definition for the eid-login-custom class and place that file within the overrides directory mentioned above. The path to the file is critical as EmpowerID will not incorporate your changes if the path is incorrect. In a default installation of EmpowerID, the path looks as follows:
\Program Files\TheDotNetFactory\EmpowerID\Web Sites\EmpowerID.Web.Cdn\Overrides\Themes\EmpowerID
This topic demonstrates how to change the default logo of the EmpowerID Web application and is divided into the following activities:
/*custom logo*/
.eid-login-custom{
background-image: url(images/coffeeshop.png);
}
The Welcome Message that appears on the Login page is a Localized String object that can be changed to allow you to display a message that reflects your corporate brand. This procedure demonstrates how to do so.
In the Translated Text dialog that appears, replace the text in the Value field and then click Save.
You should see that the default Welcome Message and background image have been updated to reflect the changes you made.