Issue removing Spaces dropdown menu from an entire space

I am trying to remove the Spaces drop down menu from a single Space in Confluence.  I have looked at this page :
https://confluence.atlassian.com/confkb/how-to-hide-elements-in-confluence-using-css-or-javascript-313458894.html

and ended up selecting 

Spaces | Space Directory | MySpace | Edit Space Details | Look And Feel | Stylesheet

I have added the following:

#space-directory-link {  

    display:none !important;  


and saved the changes.  Upon reloading my Space, the Space drop down menu is still there.  I am not sure what I am doing wrong here.  The web linbk above says that because I am doing it in the StyleSheet I do not need the <style> and </style> tags and I cannot see anything obviously wrong with what I have entered.

I have tried the same with the people-directory-link selector and it works as expected but the space-directory-link selector does not.

1 answer

1 accepted

2 votes
Stephen Deutsch Community Champion Jun 06, 2016

It seems like the name has changed in more recent versions of Confluence.  It is no longer "space-directory-link", it is now "space-menu-link".  If you use that name, it should work.

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

2,852 views 27 11
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