-
Bug
-
Resolution: Unresolved
-
Major
-
Jenkins 2.349
I have a problem with replacing the jenkins logo on the login screen. Uses the jenkins login-theme add-on:
https://plugins.jenkins.io/login-theme/
In head I define the following code:
<style>
.simple-page .logo {
background-image: url('https://www.jenkins.io/images/logos/snow/snow.png');
background-repeat: no-repeat;
background-position: 50% 0;
height: 350px;
background-size: contain;
}
.simple-page form {
width: unset;
max-width: unset;
}
</style>
However, in the header like this:
<script>
document.getElementsByTagName('h1')[0].textContent = 'Welcome to Balajee\'s Jenkins!'
</script>
I get something like this:
The old logo is automatically added to the code all the time
</head><body><div class="simple-page" role="main"><div class="modal login"><div id="loginIntroDefault"><div class="logo"><img src="/static/9e651e0d/images/svgs/logo.svg" alt="Jenkins logo"></div><h1>Witamy w Jenkinsie!</h1></div>
How to solve this problem, am I doing something wrong or is it the plugin's fault?