What's new
Install the app
How to install the app on iOS

Follow along with the video below to see how to install our site as a web app on your home screen.

Note: This feature may not be available in some browsers.

Welcome to My Sharing Site

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Resource icon

xF2 Add-on Light Switch and Style Chooser 1.0.7 1.0.7

xF2 Add-on
< Previous | Next >
This add-on only supports Xenforo 2.1.x due to font awesome

This is another free add-on I've decided to contribute to the community. It's a Light Switch and a Style Chooser based on style ids.

Simply put the light switch is a light bulb you can configure in a couple different areas of the navigation bar. When you click it the color of the light bulb will change to "on" and the light style will change to the dark style. If you click it again the style will change back to light and the color of the light bulb will change back. It's a neat little addition to my own site and I want to share it with you all.

It comes with a image that changes colors but you can also opt. for a font awesome light bulb and use that in as easy as a click. You can also change the color of the font awesome light bulb when on and when off in style properties.

There's also a style chooser. In order to set these styles up you simply go to your sites style chooser and view the URL of the style. The number that's inside the URL is your style ID. You then go to options and add in the corresponding light and dark style IDs or the style chooser IDs to appear in the style chooser. It's as simple as that. You set the option to cut it on, you put in your style IDs and you have a ready-to-go style chooser and light switch at your disposal.

Feature List:

Option to place light switch to the left of the forum username in the navigation
Option to place the light switch to the right of search in the navigation
Option to remove style chooser title
Style Property to use font awesome light bulb icon
Style Property to change "on" and "off" colors of font awesome icon
Style Property to change the preview colors of each style's preview box
Fully Permissioned
Fully phrased
5 configurable light switch styles for each light and dark style
Up to 10 styles can be added to the chooser

In order to use this add-on properly I wanted to note that while options are global, style properties are based on the style alone. The portion of the add-on that includes editing style properties will need to be edited in the parent style so that the children will also have the property enabled.

If you have never installed an add-on before or need help installing Xenforo 2 add-ons, please view this page.
  • 4523-4696a7853ada1194c8328a2dc51567b2.png
    4523-4696a7853ada1194c8328a2dc51567b2.png
    29 KB · Views: 8
  • 4522-ce843637651b9f9a914f2725f958ad01.png
    4522-ce843637651b9f9a914f2725f958ad01.png
    31.2 KB · Views: 7
  • 4520-fccb3b29f42ebc07262d35243f6a371e.png
    4520-fccb3b29f42ebc07262d35243f6a371e.png
    29.9 KB · Views: 7
  • 4519-661935254a9359f13bd2e29967b511f6.png
    4519-661935254a9359f13bd2e29967b511f6.png
    39.9 KB · Views: 8
  • 4518-b1c0c03ad85bdf68b442f6826eeba7e3.png
    4518-b1c0c03ad85bdf68b442f6826eeba7e3.png
    39.1 KB · Views: 10
  • 4517-ac5c9a2face8fff78a908ce7bb8b15ff.png
    4517-ac5c9a2face8fff78a908ce7bb8b15ff.png
    41.2 KB · Views: 8
  • 4516-3ebf4d565ae04ce98635cc8427dddb31.png
    4516-3ebf4d565ae04ce98635cc8427dddb31.png
    42.9 KB · Views: 8
Similar resources Most view View more
Top