Header Banner Configuration
The header banner style values are of strings type and can be configured as follows:
Header Style
- Property: "header_banner"
- Choices: "default", "navs-bg-color", "hide"
Example
"header_banner": { "value" : "default" }
Changing Header Banner Settings
There are two ways to change the header banner settings:
1. Using the Live Customizer
You can work on header banner using the Live Customizer in three different ways:
a. By Declaring Properties in gulp.config.json
Example gulp.config.json:
"options":{
"saveLocal": "sessionStorage",
"storeKey": "huisetting-html",
"setting":{
"header_banner": { "value": "default" },
}
},
b. By Copying Configuration from the Live Customizer
- Go to the Live Customizer and click the 'Copy Config' button at the top-right to copy the JSON file from the settings panel.
- Replace the copied code into the options object in the gulp.config.json file.
Before:
"options":{
"saveLocal": "sessionStorage",
"storeKey": "huisetting-html",
"setting":{
"header_banner": { "value": "default" },
}
},
After:
"options":{
"saveLocal": "sessionStorage",
"storeKey": "huisetting-html",
"setting":{
"header_banner": { "value": "default" },
}
},
c. By Adding Properties in the Tag
Example <meta>
tag:
<head>
<meta name="setting_options"
content="{
"saveLocal":"sessionStorage",
"storeKey":"huisetting-html",
"setting":{
"header_banner": { "value": "default" },
}
}>
</head>
1. Manual Configuration
You can change the header banner with a single action by adding the appropriate class to
the <div>
tag with class ".iq-navbar" class.
header banner
To change the header banner, set the class in div with ".iq-navbar" class:
- Banner Default:
- Banner Background:
- Banner Hide:
<div class="default">
.......
</div>
<div class="navs-bg-color">
.......
</div>
<div class="hide">
.......
</div>