Remove Confluence sidebar with the Linchpin Theme Plugin?

Hi there,

I just installed and exploring the Linchpin Theme plugin for Confluence.
Can this plugin be used to remove, or at least default minimize the Confluence left sidebar within a specific space?

Thank you in advance.

Hello and thank you for your question.

We recommend the free HideElements for Confluence app from the Atlassian Marketplace for this request. It is fully compatible with our solution.

If you have further questions, just let me know.

Best Regards,

Vitali

I also found another way to hide the sidebar on specific pages per default. Tested and works on Confluence 6.2.4.

1. Create a User Macro and call it “hidesidebar” with the following code

## @noparams
<script type="text/javascript" >
   var runOnce = false;
   jQuery(document).ajaxComplete(function() {
      if(jQuery('.ia-fixed-sidebar.collapsed').length == 0 && runOnce == false) {
         jQuery('.expand-collapse-trigger').click();
         runOnce = true
     };
   });
</script>


2. Include this macro to the respective page

1 Like