Is it possible to change the Color for a GenericHeader?
It tried this and it doesn't work:
module name="GenericHeader" color="#FF0000"
In $SPLUNK_HOME/etc/apps/your_app/appserver/static/application.css
:
.GenericHeader {
color: #FF0000;
}
If you had to create application.css, you will need to restart Splunk. Otherwise, go to http://your_server:your_port/_bump and click the button to bust your browser cache.
Keep in mind that this will be effective for your entire app. If you just want to do this for one view (e.g. the 'home' view):
.splView-home .GenericHeader {
color: #FF0000;
}
Changing CSS for GenericHeader is one way. Meanwile I found an other solution:
Use StaticContentSample instead of GenericHeader and insert http code.
In $SPLUNK_HOME/etc/apps/your_app/appserver/static/application.css
:
.GenericHeader {
color: #FF0000;
}
If you had to create application.css, you will need to restart Splunk. Otherwise, go to http://your_server:your_port/_bump and click the button to bust your browser cache.
Keep in mind that this will be effective for your entire app. If you just want to do this for one view (e.g. the 'home' view):
.splView-home .GenericHeader {
color: #FF0000;
}