Forums

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

Disable top bar (navigation, login, admin)

Krzysztof Kozlowski
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 12, 2012

How can I disable top black bar allowing users to log in, browse, manage etc.

I don't want this bar on pages for anonymous users.

2 answers

1 accepted

7 votes
Answer accepted
David at David Simpson Apps
Atlassian Partner
January 12, 2012

Browse to Confluence Admin | Look & Feel | Custom HTML

Paste into At the end of the HEAD:

<script>
  AJS.toInit(function(){
    if (AJS.params.remoteUser == ''){
      AJS.$('#header').hide();
    }
  });
</script>

Norris Ebbin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 9, 2013

Thanks :)

Annora Eyt-Dessus
May 21, 2013

Will this work for confluence on demand?

David at David Simpson Apps
Atlassian Partner
May 22, 2013

No, sorry - you can't edit HTML in OnDemand :(

Josh Resnick
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 27, 2014

how about footer? doing the same seems to leave a white bar at the bottom

Brad Schafer
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 7, 2014

Are there plans to add either an HTML editor or an option to hide it in the OnDemand version?

Mark Carvalho
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 3, 2015

Is it possible to do this for just one space?

Carla Gray
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 3, 2015

When I browse to Browse > Space Admin. In Look and Feel, I see only these options: Themes Colour Scheme PDF Layout PDF Stylesheet Change Space Logo

Andrzej Koloska
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 19, 2016

Yea I can't hide it as well, I want to be my documentation public and don't need top nav bar.Why it's so hard to hide it?

Like # people like this
0 votes
David Jimenez
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 21, 2016

A similar style hack can be done for Confluence for Cloud. This solution uses the CSS Style macro. The only problem is that it will hide the nav bar for all users, so you have to learn to use the keyboard shortcuts if you have write permissions

Go to Space Tools | Look and Feel | Sidebar, header and footer

Paste in one of those (I tested on header)

{style}
#header {
		display:none !important;
	}
{style}

 

 

 

Jared Polman
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 8, 2020

Have you found a way to complete this on Confluence for Cloud per User Group or even anonymous?

 

Thanks,

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events