Custom player themes
The content on this page is outdated and will not receive updates. For the most up-to-date functionality, refer to Setting up and managing flows.
You can create your own themes to use with the default legacy player.
Themes provide a way to easily “skin” the default legacy player and the design elements contained within any flow that uses the default legacy player, such as colours, fonts, background colour, button styles and so on. Applying a different theme will change the way the default legacy player renders a flow to the end user.
You can create your own themes as follows:
-
Create your CSS file containing your theme styles.
-
Namespace the CSS to .mw-bs. The easiest way to do this is to wrap it in a Less file, for example:
.mw-bs{ @import (less) "mytheme.css";} -
Upload the CSS file with the namespace to a publicly available URL.
-
Create a new custom player based on the default legacy player. See Creating a custom player.
-
Add the following JavaScript code to the top of the initialize function just before manywho.settings.initialize in the new custom player.
manywho.theming.custom('Theme CSS URL goes here'); -
Save the player and apply it to your flows as required.
Note: Custom themes need to be Bootstrap 3 compatible.