Sites can optionally customize the header area of the Login page through the use of a custom HTML snippet. HTML Snippet is a custom HTML file that renders inside an iframe in the header of the login page. The custom HTML snippet can only be used on the Login page.
Note: To enable the HTML snippet, the enabled property for the enableHtmlSnippet feature flag must be set to true in the feature.conf file. The HTML snippet must be named customHeader.html and must be kept in the following location along with its dependent files: RTFiles/VLS1/PageResources/Advantage4/.
When creating the HTML snippet, refer to the following specifications that must be followed:
The HTML snippet must have a height of 70px and a width of 100%.
All links in the HTML snippet must open in a new tab. Any <a> tag used in the customHeader.html file must include target=”_blank”. This ensures that the page opens in new tab instead of it opening in the iframe.
For example: <a href="https://www.website.com" target="_blank">Visit Website</a>
The HTML snippet should use basic HTML elements. Elements rendered through scripts may not work as expected.
All elements (script/image) that are accessed through a URL, must be a complete URL and not a relative URL.
For example: <link href="https://fonts.googleapis.com/css?family=Source Code Pro" rel="stylesheet">
If a relative path must be used, add only the file name in the href attribute and place the mentioned file in the specified location.
For example: <link rel="stylesheet" href="styles.css"> - In this scenario, copy the css file to the mentioned location.