Documentation
Footer Appearance
This are in string.File name:- /src/app/store/setting/state.ts
-
footer
- for footer there are 4 options given below:"footer": "default", choices: 'default', 'sticky'
There are two ways you can change the setting of your footer:
With the use of live customizer
You can work on footer using Live Customizer in three different ways:
-
You can change the footer with the property name and its value here by declaring property name
and its values in
gulp.config.json
file.- This is the example ofgulp.config.json
file."options":{ "saveLocal": "sessionStorage", "storeKey": "huisetting", "setting":{ "app_name": { "value" : "Hope UI" }, "footer": {"value" : "sticky"}, } },
-
Go to the live customizer and click on the
'Copy Config'
button available at the top-right to copy the json file from the setting panel. Paste the copied code in theIQSetting(setting_options)
at thesetting-init.js
file.-Before
let setting_options = document.querySelector('meta[name="setting_options"]') setting_options = JSON.parse(setting_options.getAttribute('content')) const setting = window.IQSetting = new IQSetting(setting_options);
-After
let setting_options = document.querySelector('meta[name="setting_options"]') setting_options = JSON.parse(setting_options.getAttribute('content')) const setting = window.IQSetting = new IQSetting({ "saveLocal": "sessionStorage", "storeKey": "huisetting", "setting": { "app_name": {"value": "Hope UI"}, "footer": {"value" : "sticky"}, } });
-
You can change the footer by adding property name and its values in the
<meta>
tag given in<head>
section.- This is the example of<meta>
data<head> <meta name="setting_options" content="{ "saveLocal":"sessionStorage", "storeKey":"huisetting", "setting":{ "app_name":{"value":"Hope UI"}, "footer": {"value" : "sticky"}, } }> </head>
Manual
You can change the footer layouts with a single action.
-
By adding some
classes
in footer parent section. Example is given below.
Footer Style
If you wish to change the footer style, you can follow the below action.
For example you have to set footer style as sticky
then you will have to add
sticky
class at footer
tag.
- For footer style as sticky
<footer class="footer ..... sticky">
.......
</footer>
- For footer style as default
<footer class="footer ..... default">
.......
</footer>