Removing the Spaces link in Confluence 5.1

Hello,

Several years ago I asked this question: https://answers.atlassian.com/questions/13007/removing-log-in-from-a-space-in-confluence-4

The answer given works as expected, but now I need to remove the Spaces link from a Space in the same manner. I'm trying to use the exact same script, but I don't know what the "name" for the Spaces link would be. Where would I find that name?

Additionally, if anyone knows a different way to do this, I'd be glad to hear about it. I'm trying to lock down a specific customer-facing Space so that our users aren't provided with options to log in, browse the system, or go to a page listing all the Spaces (which will also present them with Log in and Browse).

Thanks,
Alan

1 answer

1 accepted

The name/id of the space link is space-directory-link. So you would add the JS like the following:

AJS.$('#space-directory-link').parent().hide();

Related links:

Thank you Amalia, that worked. And thanks for the links to the CSS and JS documentation.

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...

380 views 21 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