This was a while back, but what I recall and have reconstructed is this:
- Using the SimpleTheme plugin, this config file org.codefirst.SimpleThemeDecorator.xml:
{{<org.codefirst.SimpleThemeDecorator plugin="simple-theme-plugin@0.3">
<cssUrl>/userContent/nucleator.css</cssUrl>
<jsUrl>/userContent/decorate.js</jsUrl>
</org.codefirst.SimpleThemeDecorator>
}}
Then, in the Jenkins installation directory:
mkdir userContent
put the above XML file in the install dir.
put the Javascript from the earlier comment in userContent/decorate.js
and I have a css file that looks something like this:
{{
#header .logo {
height: 80px;
}
.logo {
background-image: url("my_logo.png");
display: block;
width: 406px;
background-size: 406px 80px;
margin: 5px 0px 5px 10px;
}
.logo img
{
display: none;
}
}}
HTH.
I have done this in the JavaScript: