Table of Contents

phpFreechat's theme creation tutorial

In this tutorial, you will learn how to create your own PhpFreeChat v2 theme. First of all, we will analyze the HTML code architecture of PhpFreeChat, then we will explain to you how its .less stylesheet structure works.

Be careful, this tutorial does not intend to teach you about HTML or LESS. We advise you to get to know these languages before going any further in this tutorial. Thank you.

The theme architecture

PhpFreeChat interface is splited in div with the following classes:

Thanks to these classes, we will be able to apply styles to the different parts of PhpFreeChat with the help of LESS.

The LESS structure

The LESS structure is split in 4 main files:

Your own PhpFreeChat theme data will be gathered in the two last files.

Conclusion

As you can see, the creation of a PhpFreeChat theme is nothing complicated. The only limitation is your imagination's.

The PhpFreeChat team wishes you a happy creativity time and looks forward to see your creations. Share them with us on the forum!