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

1 vote
Accepted answer

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 Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,433 views 110 8
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