To use any element on your webpage as Taku widget launcher follow this steps:
- Go to “Widget Customization” page and then to “Launcher” section.
- Choose “Custom element on page” option in “Launcher type” field.
- Then enter “Custom element selector” which should be a valid selector of your page element.
- If you want to show red bubble on your custom element — toggle “Show badge notification on custom element”
- After that press “Save” and everything should be done.
Custom unread badge
If you want to also show a custom badge when there are unread campaigns, you'll have to respond to Taku events: badge:show and badge:hide, and modify your custom launcher based on these events.
Here's an example of what it might look like:
And if you want to use some pre-made CSS for the unread badge, you can use what we've got in Taku:
That's it! You now have your very own, fully personalized Taku launcher button!