Hide archived spaces in SubSpace Navigation

Problem

Archived spaces are being displayed in the menu of the SubSpace Plugin (version 2.2.2 or below).

Solution

Go to the Confluence Administration > "Custom HTML". Edit the custom HTML and enter the following under "At beginning of the BODY":

<style type="text/css">
li.space-SPACEKEY { display: none; }
</style>

(warning) Instead of SPACEKEY enter the space key of an archived space. For every space that should be hidden you need to add the line

li.space-SPACEKEY { display: none; }