For ThemeBuilder version 5.5.0+ / Confluence 5.9.7+ the flaglogic method has been changed. Please see the 'main' panel for the logic that controls which sidebar panel to show.
The areas in this example are:
Pages - Is the start of the breadcrumb trail if removed the breadcrumbs would also be removed.
The code is in the 'title' panel:
So remove this and both 'Pages' and the breadcrumbs will be gone.
If you want to keep the breadcrumbs then this CSS could be used instead to hide the first list item in the breadcrumbs trail:
This does leave a slash in front of the breadcrumbs and we are working on the CSS to hide that as well.
Tools menu - also in the 'title' panel (its a surprisingly busy area) and the code is:
You can remove the code completely or control who sees it using flag logic.
Flag Logic can be used in two ways
For this example I'm going to use the builder-show macro to ensure that only 'confluence -administrators' see the tools and edit menu.
Then copy and cut the code for the Edit and Tools menu
And paste it inside the 'builder-show' macro, between the <ac:rich-text-body> tags
The code for the Labels and Likes is at the bottom of the 'content' panel. One macro inserts both the Labels and Likes code. Delete this code to remove the Labels and Likes:
The Space Tools link is part of a block of default Confluence content added in to the 'with-sidebar' panel by this code:
To remove elements or control the display of this area you will need to rebuild the sidebar as needed.