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.jsonfile.- This is the example ofgulp.config.jsonfile."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.jsfile.-Beforelet setting_options = document.querySelector('meta[name="setting_options"]') setting_options = JSON.parse(setting_options.getAttribute('content')) const setting = window.IQSetting = new IQSetting(setting_options);-Afterlet 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
classesin 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
boxedthen you will have to addcontainerclass atmainsection.- 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
flatthen you will have to addtheme-flatclass atbodytag.- 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-animationthen you will have to addwithout-page-animationclass atbodytag.- 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-glassthen you will have to addcard-glassclass atbodytag.- 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