Customizer
A settings drawer for previewing the theme: light or dark mode, primary and accent color, full width or boxed layout, sticky or static header and corner size. For demos only. Choices stay after a refresh and a Reset button clears them.
How it looks
The customizer is already on every page of the template. Look for the gear button on the right edge of the screen, for example on index.html. It opens a drawer from the side. The page stays visible, so you can see each change straight away.
Options inside the drawer
Add or remove it
Add one line inside the <head> of each page:
<script src="assets/js/customizer.min.js"></script>
Delete that line to remove the customizer. The theme does not need it: every option is a plain attribute on <html>. See "Light and dark mode, layout and header options" in the documentation.
Saved choices live in localStorage under the key re-template-customizer-v3.
Classes and attributes
| Name | Purpose |
|---|---|
.cz-toggle | The gear button on the screen edge. |
.cz-drawer | The drawer (a Bootstrap offcanvas without a backdrop). |
.cz-group, .cz-label | One setting and its title. |
.cz-options, .cz-option | Row of choice tiles (radio buttons). |
.cz-swatches, .cz-swatch | Round color choices. .cz-swatch--custom opens the color picker. |