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
Accepted answer
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
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

996 views 14 12
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