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

Customize incident page

radoslaw.rymaszewski
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!
August 2, 2023

Hello,

 

I would like to know how to customize incident page using our own CSS. 

 

We are using custom CSS to customize main page and history page, but when we try to customize incident page our styles are not working.

 

Moreover I'm not able to locate definded custom styles which were added "Status Page Customize"

 

Could you advice what to do?

 

Regards,

Radek

2 answers

1 accepted

0 votes
Answer accepted
John M
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 3, 2023

Hi @radoslaw.rymaszewski ,

You can target CSS selectors to customize the individual incident pages the same way you can with the main page and history page.

For example, you can target the button on the incident pages with this selector:

page.flat-button.subscribe-button {
background-color: purple }

Any and all defined styles you've added will show up in the Custom CSS editor which any admin user can access by going to:

Your page >> customize page and emails >> click on the "Custom HTML and CSS" button

0 votes
Rikku Bolske
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!
January 22, 2024

It seems that your problem is that the preview iframe is not representing your custom CSS. It happens because when you navigate to an incident page within the iframe, the staged styling get ignored. 

It's unfortunate that the "Select page:" just above the iframe does not include any incident view at all. However, you can workaround it by using your browser DevTools and manually overwriting page path with the one of your choice, while keeping the query-parameters. 

For instance, change: 

<iframe id="preview-iframe" https://mycompany.statuspage.io/history?staging=true&timestamp=123456789&jquery=undefined" data-js-hook="preview-iframe" style="height: 1057px;"></iframe> 

 to

<iframe id="preview-iframe" https://mycompany.statuspage.io/incidents/a1b2c3d4e5f6?staging=true&timestamp=123456789&jquery=undefined" data-js-hook="preview-iframe" style="height: 1057px;"></iframe> 

Note that you have to do this procedure for every time you made changes that you want to preview.

It's not ideal, but seems to work for now. Hope it helps!

John M
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 22, 2024

Thanks @Rikku Bolske for adding your solution!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events