Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,502
Community Members
 
Community Events
165
Community Groups

Google Analytics in announcement banner causes grey space

Anybody know of a way to avoid the grey space below the menu bar from showing up when you have Google Analytics code in the announcement banner?

The grey space appears to be a common phenomenon and it's even present at jira.atlassian.com.  

I recall seeing somewhere previously that you could modify the Google Analytics code to do away with the grey space, but now I can't find it.

 

Screen Shot 2018-07-17 at 3.03.01 PM.png

 

 

1 comment

You have to also add some CSS to hide that spacer:


<style>
#announcement-banner {
visibility: hidden;
padding: 0;
}
</style>
Like Christopher Heritage likes this

Thank you Sir. :)

Comment

Log in or Sign up to comment
TAGS

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you