Hi,
We have a site wide banner for our Confluence Data Centre instance as per this page https://support.atlassian.com/confluence/kb/how-to-add-a-site-wide-banner/ and configured 'At beginning of the BODY'.
I'm pretty sure this used to be sticky but we are now finding that when you scroll down a page the banner disappears.
Does anyone know how to make it sticky?
Thanks :)
Hi,
Does this only happen when you are logged in as an administrator?
Best regards,
Jan
it seems that once you are scrolling, the navigation bar gets the sticky part and is "overwriting" (sorry, I do not know a better word for it) the sticky configuration of any other divs you might have added. So even if you specify a div to be sticky, the nav will get layed over that one.
I could only imagine to add something to the navigation bar content, which would be identical to a global banner. But you will have to create some JavaScript in the custom HTML to populate it accordingly.
The custom HTML then must start with JavaScript, that only runs once the page is loaded.
<script type="text/javascript">
AJS.toInit(function(){
//your code goes here
});
</script>
Hope this helps!
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.