Announcement Banner

I added a little script and css in the announcement banner to make this clock down appear, but when I do that somehow my added CSS or javascript is messing with the  JIRA Interface. 
See the attached screenshots. 

don't want the appearance of JIRA to change in anyway after adding the code in banner. 

 Any suggestions? 

Capture.PNGCapture1.PNGSee how the linings and appearance has changed after I added the script.

3 answers

1 accepted

This widget could not be displayed.

What I suspect here is that you have put an updated a common css (like <h1> or <body>) in your clock that JIRA is also using that affected its own display. Check that.

To get around this, rename all the css tags that you have for your clock so it. Like..

    text-align: center;
    background: #00ECB9;
  font-family: sans-serif;
  font-weight: 100;
  color: #396;
  font-weight: 100;
  font-size: 40px;
  margin: 40px 0px 20px;
    font-family: sans-serif;
    color: #fff;
    display: inline-block;
    font-weight: 100;
    text-align: center;
    font-size: 30px;


Also, as Jonas pointed, please share the code so we can be sure what it is.

I was using <body> tag and applying css to it as: body{ text-align: center; background: #00ECB9; } so now I referred to that with its ID in css, Now things are working fine. Thank you :)

This widget could not be displayed.

Showing the html/javascript could be useful, but without it i can only recommend you to make sure you use w3 complient html5, where you make an extra effort closing all tags and not reusing frame-names.

This widget could not be displayed.

Hi Muhammad, 

please ensure that you don't have duplicate classes or ids in your clocks css definition.

Best Regards,

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

197 views 1 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you