- Joined
- Aug 26, 2019
- Messages
- 229
- Points
- 253
Reputation:
Haim submitted a new resource:
Dark mode / Light Mode switcher button - Dark mode / Light Mode switcher button
Read more about this resource...
Dark mode / Light Mode switcher button - Dark mode / Light Mode switcher button
This Template modification will add a button to NavGroup (before Search Button) to let users switching between the Light style and the Dark style.
1. Create a new Template Modification:
- Template: PAGE_CONTAINER
- Key: add_a_style_switcher_button_to_navgroup (or anything you want)
- Find field:
<a href="{{ link('whats-new') }}"
- Replace field:
<xf:if is="$xf.visitor.canChangeStyle()"> <xf:set var="$light_style"...
Read more about this resource...