Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to hide the help icon/menu in Confluence

dummy September 6, 2018

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>

 

2 answers

1 vote
dummy September 6, 2018

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.

1 vote
Lava Kumar Dukanam _Appfire_
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.
September 6, 2018

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events