Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can anyone know how to align text center in Announcement Banner

Pavan Kumar Reddy Palagiri
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!
June 28, 2017

I have gone through multiple blogs and found the below sample code, but the code was displaying as is in Announment. Our JIRA is a cloud version so please help me on that

 

<div style="background-color: linen; border: 3px solid darkred; margin: 4px; padding: 2px; text-align: center;">

1 answer

0 votes
Stefan Arnold
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 28, 2017

<div style="background-color: linen; border: 3px solid darkred; margin: 4px; padding: 2px; text-align: center;">Test123</div>

Is working correct

If you dont need that box and the colors it would be enough to do

<p style="text-align: center;">Test123</p>

Pavan Kumar Reddy Palagiri
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!
June 28, 2017

its not working Stefan

 

Screenshot_4.png

Stefan Arnold
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 28, 2017

Sorry then i have no idea. For me its working

jira_announcement.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events