View on GitHub View on Contao

ZAD Style Switcher

An extension for Contao CMS

Style settings

Once saved the new style switcher, push the Edit button. You will see the style manager page.

Style manager

On this page you can manage all the styles, deciding their order too. Sorting is used to know which style activate when using the NEXT/PREVIOUS buttons. Otherwise, if you do not use buttons, sorting determines the display order. Finally, it is very important to define a default style: this one will be loaded if you do not know the user's preferences.

The buttons on this page perform the following functions:

Then, create a new style pushing the New button. You will see a page where you can enter the following information:

If you didn’t previously enable NEXT/PREVIOUS/DEFAULT buttons, you will have to set:

In our scenario, you can enter the following values:

In a similar way you can add the other styles. When done, set the font_100 style as the default.