Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Working with custom colors on page

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.
Nov 11, 2020 • edited

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!

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