Customizing Jenkins UI with Custom CSS and Themes
This guide explains how to improve the Jenkins UI by installing the Simple Theme plugin, applying an online Material CSS theme, and creating a local CSS file for further customization, complete with step‑by‑step instructions and code snippets.
If you are dissatisfied with the default Jenkins UI fonts and icons, you can give Jenkins a fresh look using custom CSS styles with a custom logo, which makes the interface more visually appealing.
Key features of the custom CSS:
Flat UI fonts
Improved syntax highlighting for Shell blocks
Better highlighting of console output Preparation
First, install the simple theme plugin, then restart Jenkins. Navigate to Manage Jenkins → Manage Plugins, click the available tab, search for simple theme, and install it.
Using an online CSS style
http://afonsof.com/jenkins-material-theme/dist/material-teal.cssGo to System Settings → Theme (or Manage Jenkins → Configure → Theme), search for Theme, and paste the above URL into the CSS field, then save. The Jenkins theme will change accordingly.
Local style
Enter the JENKINS_HOME/userContent directory, create a CSS file:
cd userContent</code><code>mkdir layout</code><code>vim style.cssOpen a browser to the URL
http://afonsof.com/jenkins-material-theme/dist/material-teal.css, copy the entire CSS content, paste it into style.css, and save.
Test the file by accessing /userContent/layout/style.css. After confirming it displays correctly, set this URL in the Theme configuration and save.
Extended custom CSS styles
For more themes, visit http://afonsof.com/jenkins-material-theme/ and choose a style you prefer.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
DevOps Cloud Academy
Exploring industry DevOps practices and technical expertise.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
