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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

901 views 23 12
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