agison
Well-known member
agison submitted a new resource:
Dark mode / Light Mode switcher button - Template modification to add Dark mode / Light Mode switcher button
Read more about this resource...
Dark mode / Light Mode switcher button - Template modification to add Dark mode / Light Mode switcher button
This Template modification will add a button to NavGroup (before Search Button) to allow users to switch between Light style and Dark style.
1. Create this Template modification:
- Template: PAGE_CONTAINER
- Find:
Code:<a href="{{ link('whats-new') }}"
- Replace:
HTML:<xf:if is="$xf.visitor.canChangeStyle()"> <xf:set var="$light_style" value="YOUR_LIGHT_STYLE_ID" /> <xf:set var="$dark_style" value="YOUR_DARK_STYLE_ID" /> <xf:if...
Read more about this resource...