How do I remove the top bar containing breadcrumbs/browse/login/search?

I've been presented with a problem where a group wants their own Confluence instance because they want to restrict folks to looking at mostly the space content and not the rest of confluence. But they also like the documentation theme...I'm attempting to obscure the breadcrumbs, Browse, Login and Search top bar in an attempt to force folks into specific behavior.

Another option would be to have it only avaliable to another specific group.

Ideas?

3 answers

1 accepted

2 votes
Robert Chang Atlassian Team Dec 18, 2012

Hi,

You can probably achieve what you want through CSS, via Confluence Admin > Stylesheet (if you want the change to be global) or Space Admin > Stylesheet (if you want to apply to specific spaces). For example, here's how you hide the entire header bar:

#header {display:none;}

You can inspect the page element for whatever you're trying to obscure in Firefox (with Firebug) or Chrome to get its class or ID.

Another approach is to customize the layout by going to Confluence Admin > Layouts and choose to edit/create custom on Main Layout. Delete the following line which is used to render the top bar:

#parse($!theme.topNavLocation)

You can show this top navigation bar to only a specific group in Confluence. Refer to this documentation for more info: https://confluence.atlassian.com/display/CONFKB/How+to+Display+Different+Appearance+for+Different+Users+Using+Confluence+Layouts

Regarding #header {display:none;}

If want to keep some of the options, but remove specific buttons - how can I do that (not the whole header?

Thanks.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

631 views 21 11
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you