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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

1,720 views 25 10
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