Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Working with custom colors on page

Mohammad Razian
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 10, 2020

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!

1 answer

0 votes
Mark Campbell-Vincent
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 11, 2020

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;

}

 

MCV_test_Status.png

 

Hope this helps!

Tomas Jurksis
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 19, 2023

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events