hi all,
we use JIRA 6.4 and the announcement banner looks bland..it doesnt let me highlight text or user bold or use colors. i want the banner text to show in the middle of the page and not to the left hand side.
is there a way i can customize this?
Hi Shilpini,
If you are able to edit the announcment banner you should be able to use normal html markup to add color, bold text etc. As an example here is an example from my instance:
Here is the code I used as an example:
<div style="background-color: linen; border: 3px solid darkred; margin: 4px; padding: 2px; text-align: center;"><b>Maintenance Notification:</b> This Jira environment will be <font color="red"><b>offline today May 30th from 4:00 PM to 5:00 PM CST </font></b>for a memory upgrade.</div>
If you have your html and tags correct:
If neither of those suggestions help, I would try spinning up a test instance of 6.4.x and try setting an announcement banner to see if you get the same result. If not, you'll need to start looking at the environment. There aren't many plug-ins I've run into that would cause this behavior but if you cannot replicate this in a clean environment try JIRA in Safe Mode and see if your html/css works as expected.
Cheers,
Branden
Hey Shilpini,
Use HTML/Javascript in Announcement Banner accordingly.
Make sure you end the tags, else it might resolve into a big issue of JIRA not displaying any info.
Test this on staging or test instance before doing it on Prod.
Example:
<!-- Message Banner --> <div style="background-color: linen; border: 3px solid darkred; margin: 4px; padding: 2px; font-weight: bold; text-align: center;"> Maintenance Notification: This Jira environment will be offline today Wed Jan 21 from 12:15 to 12:30 EST for a memory upgrade. </div>
Reference
Thanks
Chander
Hello!
Where can I editingt this html? Where can I write this perfect example?
Thanks for the help!
Armin
https://html-online.com/ is a good tool for editing html if you don't know html...
Does this not work in JIRA Cloud?
For me the text just displays the actual HTML code.
3 years late, but still applicable. Thank you Chander! Put my html to good use here
This can help if you want to insert other document link in banner
<div style="font-weight: bold; text-align:center; color:green;">Yay! your jira is upgraded to 8.13.1, what's new? <a style="color:blue;"href="https://confluence.atlassian.com/jiracore/jira-8-13-long-term-support-release-change-log-1018788437.html">know more</a></div>
Dear Experts,
When adding "Style=" to apply background color, Jira is giving 403 forbidden error. Below is the HTML code I am using. Any suggestions?
<!-- --> <div id="cat-announce-1"><div Style="background-color:#D8F8FD ;border: 1px solid #17A2B8; margin: 2px; padding: 8px; text-align: left; font-size: 14px;"></div></div>
It looks like you're new here. Sign in or register to get started.