Go To style.scss (src/assets/scss/styles.scss )
if you want to change another font-family Go to the site Google Fonts And Select One font Family and import in to styles.scss file
And paste Your Selected font-family in style.scss
And add the Your Selected font-family in _customs.scss(src/assets/scss/custom/_customs.scss)
body {
font-size: 1rem;
font-family: "Roboto", sans-serif;
font-weight: 400;
color: #{$color};
background-color: #{$background};
line-height: 1.5;
text-align: start;
overflow-x: clip;
padding: 0;
margin: 0;
}
To change Menu icons, open header.html page and go through
app-sidebar
section, in that section you will find Bootstrap icons of menu in
i
tag, there you can replace previous icon with your icon. Example
as shown in below
Go To "src/assets/images/brand" folder and replace your logo with Previous Logos within in image size. note: Please don't increase logo sizes. Replace your logo within given image size. otherwise the logo will not fit in particular place it disturbs the template design.
To enable RTL Version you have to open
custom-switcher.js
(assets/js/custom-switcher.js) file
and remove comments for rtl
as shown in below
//RTL
if (!localStorage.getItem("hostmartl")) {
// html.setAttribute("dir" , "rtl") // for rtl version
}
rtl
as
shown
below
//RTL
if (!localStorage.getItem("hostmartl")) {
html.setAttribute("dir" , "rtl") // for rtl version
}
To enable Boxed Version you have to open
custom-switcher.js
(assets/js/custom-switcher.js) file
and remove comments for Boxed
as shown in below
//Boxed styles
if (!localStorage.getItem("hostmaboxed")) {
// html.setAttribute("data-width" , "boxed") // for boxed style
}
boxed
as
shown
below
//Boxed styles
if (!localStorage.getItem("hostmaboxed")) {
html.setAttribute("data-width" , "boxed") // for boxed style
}
To enable Dark Theme you have to open
custom-switcher.js
(assets/js/custom-switcher.js) file
and remove comments for dark-mode
as shown in below
//Dark Theme Style
if (!localStorage.getItem("hostmadarktheme")) {
// html.setAttribute("data-theme-mode" , "dark") // for dark theme
}
dark-mode
as
shown below
//Dark Theme Style
if (!localStorage.getItem("hostmadarktheme")) {
html.setAttribute("data-theme-mode" , "dark") // for dark theme
}
Open custom-switcher.js file
assets/js/custom-switcher.js
To clear LocalStorage loading functions you need to remove localStorageBackup() function in custom-switcher.js as shown below
function localStorageBackup() {
}
To remove complete LocalStorage saving you need to remove
all localstorage related calling functions in
custom-switcher.js
assets/js/custom-switcher.js
file.
LocalStorage related functions like localStorage.setItem, localStorage.removeItem, localStorage.getItem, localStorage.clear. Below are the some examples to find out.
localStorage.setItem("hostmadarktheme", true);
localStorage.removeItem("hostmalighttheme");
localStorage.getItem('hostmaboxed')
localStorage.clear();
localStorageBackup();