Skip to main content

How to change the default sidebar mode

· One min read
ElChiniNet
Developer of Custom Sidebar

If you are in a desktop device, you can go to your settings and activate a switch for Always hide the sidebar, so you will have the sidebar automatically hidden as in a mobile device. But if you are in a small-screen device, there is no Always show the sidebar option.

Custom Sidebar has an option that will allow you to manage the default sidebar mode per user or device basis.

info

If you se this option, the changes made in the Always hide the sidebar section in your profile will be ignored.

This option has three possible values and they will ignore the device screen size:

Option ValueDescription
hiddenThe sidebar will be hidden by default as in a mobile device
narrowThe sidebar will be in a narrow state by default
extendedThe sidebar will be in an extended state by default
<config directory>/www/sidebar-config.yaml
sidebar_mode: 'narrow'
order:
...

Mobile device with sidebar_mode in narrow

Mobile device with sidebar_mode in narrow