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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.