Sidebar Configuration
The sidebar color value are of string type and can be configured as follows:
Sidebar Color
- Property: "sidebar_color"
- Choices: "sidebar-white", "sidebar-dark", "sidebar-color"
Example
"sidebar_color": { "value" : "sidebar-white" }
The sidebar values are of string type and can be configured as follows:
Sidebar Type
- Property: "sidebar_type"
- Choices: "sidebar-hover", "sidebar-mini", "sidebar-soft"
Example
"sidebar_type": { "value" : ["sidebar-mini"] }
Sidebar Menu Style
- Property: "sidebar_menu_style"
- Choices: "navs-rounded", "navs-rounded-all", "navs-pill", "navs-pill-all"
Example
"sidebar_menu_style": {
"value": "navs-rounded-all"
}
Changing Sidebar Settings
There are two ways to change the theme settings:
1. Using the Live Customizer
You can work on themes using the Live Customizer in two different ways:
a. By Declaring Properties in gulp-config.json
Example gulp-config.json:
"options":{
"saveLocal": "sessionStorage",
"storeKey": "streamit",
"setting":{
"sidebar_color": { "value": "sidebar-white" },
"sidebar_type": { "value": [ "sidebar-mini" ] },
"sidebar_menu_style": { "value": "navs-rounded-all" },
}
},
b. By Adding Properties in the Tag
Example <meta>
tag:
<head>
<meta name="setting_options"
content="{
"saveLocal":"sessionStorage",
"storeKey":"streamit",
"setting":{
"sidebar_color": { "value": "sidebar-white" },
"sidebar_type": { "value": [ "sidebar-mini" ] },
"sidebar_menu_style": { "value": "navs-pill-all" },
}
}>
</head>
1. Manual Configuration
You can change the sidebar type with a single action by adding the appropriate classes to
the <aside>
tag.
Sidebar Color
To change the sidebar Color, set the class in aside:
- Sidebar Light:
<aside class="sidebar-white">
.......
</aside>
Sidebar Type
To change the sidebar type, set the class in aside:
- Sidebar Mini:
<aside class="sidebar-mini">
.......
</aside>
Sidebar Menu Style
To change the sidebar menu style, set the class attribute in the
<aside>
tag:
- Nav Pills All:
<aside class="nav-pills-all">
.......
</html>