Page Appearance
-
page_layout
- for layout of page there are 2 options given below. Values are in string."page_layout": "container", choices: 'container', 'container-fluid'
-
theme_style_appearance
- for card apperance there are 4 options given below. Values are in array."theme_style_appearance": " ["theme-default"], choices: 'theme-default', 'theme-flat', 'theme-bordered', 'theme-sharp'
-
theme_transition
- for animation of page there are 2 options given below. Values are in string."theme_transition": "theme-with-animation", choices: 'theme-without-animation', 'theme-with-animation'
-
card_color
- for card design there are 3 options given below. Values are in string."card_color": "card-default", choices: 'card-default', 'card-glass', 'card-transparent'
There are two ways you can change the setting of your page:
With the use of live customizer
You can work on page style using Live Customizer in three different ways:
-
You can change the page style and its appearance 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": "quisetting", "setting":{ "app_name": { "value" : "Muzik" }, "page_layout": {"value" : "container"}, "theme_transition": {"value" : "theme-with-animation"}, "card_color": {"value" : "card-default"}, "theme_style_appearance": "theme-default"} } },
-
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": "quisetting", "setting": { "app_name": {"value": "Muzik"}, "page_layout": {"value" : "container"}, "theme_transition": {"value" : "theme-with-animation"}, "card_color": {"value" : "card-default"}, "theme_style_appearance": {"value": "theme-default"} } });
-
You can change the page style and its appearance 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":"quisetting", "setting":{ "app_name":{"value":"Muzik"}, "page_layout": {"value" : "container"}, "theme_transition": {"value" : "theme-with-animation"}, "card_color": {"value" : "card-default"}, "theme_style_appearance": {"value": "theme-default"} } }> </head>
Manual
You can change the page style and appearance with a single action.
-
By adding some
classes
in parent div section. Example is given below.
Page Style
If you wish to change the page style, you can follow the below action.
For example you have to set page style as
boxed
then you will have to addcontainer
class atmain
section.- For page style as boxed<main class = "main-content"> <div class = ".... container"> ....... </div> <main>
- For page style as full width<main class = "main-content"> <div class = ".... container-fluid"> ....... </div> <main>
Page Style Appearance
If you wish to change the page style appearance, you can follow the below action.
For example you have to set page style appearance as
flat
then you will have to addtheme-flat
class atbody
tag.- For page style appearance as flat<body class=".... theme-flat"> ....... </body>
- For page style appearance as bordered<body class=".... theme-bordered"> ....... </body>;
- For page style appearance as sharp<body class=".... theme-sharp"> ....... </body>;
Page Animation
If you wish to change the page animation, you can follow the below action.
For example you have to set page animation as
without-animation
then you will have to addwithout-page-animation
class atbody
tag.- For page without animation<body class = "..... without-page-animation"> ....... <body>
- For page animation<body class = "..... theme-with-animation"> ....... <body>
Card Design
If you wish to change the card design, you can follow the below action.
For example you have to set card as
card-glass
then you will have to addcard-glass
class atbody
tag.- For card as glass effect<body class = "..... card-glass"> ....... <body>
- For card as transparent<body class = "..... card-transparent"> ....... <body>
- For card as default<body class = "..... card-default"> ....... <body>
-
By adding some