Google Analytics in announcement banner causes grey space

Christopher Heritage
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 17, 2018

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

David Yu
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.
December 30, 2019

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


<style>
#announcement-banner {
visibility: hidden;
padding: 0;
}
</style>
Like Christopher Heritage likes this
Christopher Heritage
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 30, 2019

Thank you Sir. :)

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events