How can the help icon/menu in the header be hidden?
I am looking for something, which I can add to my custom HTML code for the header:
<script type="text/javascript">
AJS.toInit(function(){
if (AJS.params.remoteUser == ''){
AJS.$('#action-menu-link').hide();
AJS.$('#sidebar-discover').hide();
<!--AJS.$('#header').hide();-->
AJS.$('#space-directory-link').hide();
AJS.$('#space-menu-link').hide();
AJS.$('#space-tools-menu-trigger').hide();
}
});
</script>
Thx Lava, this was exactly, what I was looking for.
But I have implemented it this way
<script type="text/javascript">
AJS.toInit(function(){
if (AJS.params.remoteUser == ''){
AJS.$('#help-menu-link').hide();
}
});
</script>
And it works. The advantage is, that this then will apply only to anonymous users.
Hi @dummy,
you can do this in the custom HTML section
<style type="text/css">
#help-menu-link {
display:none !important;
}
</style>
Hope this helps!
Thanks,
Lava
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.