Open gk7279 opened 2 years ago
Basically "Add Panel BG Color" but only to specific panels and not all of them.
It seems Grafana's CSS changes on > 8.x.x
Try this:
.panel-title-container[data-testid="data-testid Panel header PANEL-NAME-HERE"]{ background-color: blue; }
.panel-container[aria-label="PANEL-NAME-HERE panel"]{ background-color: red; }
You can use the Inspect Tool in your browser to search the style you want to select and change.
What you are struggling with
Change background color of gauges based on panel title
Describe what assistance you need CSS block
What you tried
Describe what you tried https://community.grafana.com/t/panel-title-with-background-color/45411
Related Issues and Links
Related links