# Collapse sidebar by default

**URL:** <https://discuss.elastic.co/t/collapse-sidebar-by-default/207868>\
**Category:** Kibana\
**Created:** [November 14, 2019, 11:01am UTC](https://discuss.elastic.co/t/collapse-sidebar-by-default/207868 "2019-11-14T11:01:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![amanciao](https://avatars.discourse-cdn.com/v4/letter/a/71e660/32.png) [@amanciao](https://discuss.elastic.co/u/amanciao)\
**Post date:** [November 14, 2019, 11:01am UTC](https://discuss.elastic.co/t/collapse-sidebar-by-default/207868/1 "2019-11-14T11:01:24Z")

</div>

Hi,

I want to collapse the sidebar by default for kibana.

I am able to collapse the side bar, but it is not expanding when I want to.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [November 14, 2019, 6:17pm UTC](https://discuss.elastic.co/t/collapse-sidebar-by-default/207868/2 "2019-11-14T18:17:29Z")

</div>

> [@amanciao](#):
>
> he sidebar by default for kibana.
> 
> I am able to collapse the side bar, but it is not expanding when I want to.
> 
> Thanks in advance.

Currently this is not possible . Please open an enhancement request if you feel the need for it . We can discuss it there.

> **[Build software better, together](https://github.com/elastic/kibana/issues/new?template=Feature_request.md)**
>
> GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects.

Thanks  
Rashmi

---

<div class="post-metadata">

**Author:** ![amanciao](https://avatars.discourse-cdn.com/v4/letter/a/71e660/32.png) [@amanciao](https://discuss.elastic.co/u/amanciao)\
**Post date:** [November 15, 2019, 1:00pm UTC](https://discuss.elastic.co/t/collapse-sidebar-by-default/207868/3 "2019-11-15T13:00:08Z")

</div>

Hi rashmi,

Thanks for reply.  
I have the side bar collapsed by default.  
Go to kibana/src/ui/public/chrome/directives/global\_nav/global\_nav.js

remove the function updateGlobalNav() function which is called by default.  
Let the updateGlobalNav() which is the part of the event and it will work.

Thanks

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [November 18, 2019, 11:43pm UTC](https://discuss.elastic.co/t/collapse-sidebar-by-default/207868/4 "2019-11-18T23:43:38Z")

</div>

am glad you figured it out ..  
Thanks  
Rashmi

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 16, 2019, 11:43pm UTC](https://discuss.elastic.co/t/collapse-sidebar-by-default/207868/5 "2019-12-16T23:43:39Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
