Hello all,
I am trying to customize some of the colours on our statuspage; I know that you can select custom colors via the dashboard but there seem to be specific variants of each color used on the actual page and I am wondering how to override these.
I have tried using .css to change the 'fill' property of svg 'rect' elements with no success. I've tried with jQuery but somehow seem unable to get the code to load for when the svg elements in question are displayed on the page.
Any help or examples would be greatly appreciated, thanks!
Hi @Mohammad Razian -
Welcome to the Statuspage community! We don't provide code examples for these use cases since we recommend a front end developer on the customer's side take on these type of projects. You should be able to check your Statuspage's div containers in your browsers "Developer Console" to see how you can change the colors using CSS.
For example, if I wanted to change the color of the overall page's status, I would check the Developer console for <div class="page-status status-none">. In the "Styles" section, I'll find the CSS property to change the color:
page-status.status-none {
background-color: #25d996;
}
Hope this helps!
Hello. How can i know what classes are applied when status changes? I am trying to change text color for each status but currently there are no incidents, so by inspecting the page i can see only status-none class.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.