- Messages
- 5,029
- Website
- www.xenfocus.com
This tutorial only applies to 2.2 themes. These steps will not work for 2.3 themes.
Some xenfocus themes come in dark and light colour schemes. If you have purchased both colour schemes (or if you own the "Pro" version), you can enable a light/dark toggle switch which allows your members to easily switch between the two colour schemes. The switch is located in the user panel (next to your notifications and inbox icons), and in the footer (next to the Style selector).
1. To begin, you must first install both the light and dark versions of your theme.
2. Next, you need to find out the ID of your styles. To do this, visit the Styles page in your Admin Cpanel and click on "Style Properties" next to the Light version of your theme. The URL will look something like this:
By looking at the URL, you'll notice the Style ID for the light theme is 5
Repeat these steps for the Dark theme to get its Style ID, which (for this example) is 6.
Keep these two values in mind.
3. Visit the Style Properties page for the Light theme and open the Xenfocus: Light/Dark Mode group. Enter the Style ID of the Dark theme (6), and press Save.
4. Repeat the above step but for the Dark theme. Open the Light/Dark Mode group and enter the Style ID of the Light theme. Press Save.
Done!
Some xenfocus themes come in dark and light colour schemes. If you have purchased both colour schemes (or if you own the "Pro" version), you can enable a light/dark toggle switch which allows your members to easily switch between the two colour schemes. The switch is located in the user panel (next to your notifications and inbox icons), and in the footer (next to the Style selector).
1. To begin, you must first install both the light and dark versions of your theme.
2. Next, you need to find out the ID of your styles. To do this, visit the Styles page in your Admin Cpanel and click on "Style Properties" next to the Light version of your theme. The URL will look something like this:
https://site.com/admin.php?styles/dimension.5/style-properties
By looking at the URL, you'll notice the Style ID for the light theme is 5
Repeat these steps for the Dark theme to get its Style ID, which (for this example) is 6.
Keep these two values in mind.
3. Visit the Style Properties page for the Light theme and open the Xenfocus: Light/Dark Mode group. Enter the Style ID of the Dark theme (6), and press Save.
4. Repeat the above step but for the Dark theme. Open the Light/Dark Mode group and enter the Style ID of the Light theme. Press Save.
Done!
Last edited: