Removing the Spaces link in Confluence 5.1


Several years ago I asked this question:

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


1 answer

1 accepted

This widget could not be displayed.

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


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
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

426 views 4 6
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