The CSS tools (III): How to create your own frequent classes
We know how to use the “frequent classes menu”, now we’re going to learn to define them in your etiquetags.js file (or quicktags.js file if you are working in WordPress).
- Open the
etiquetags.jsfile with your favorite editor. - Go to line 66 and look for the text:
//************** CLASSES(CSS) ********//
//******Create your own frequent classes**********// - The classes are defined below this text.
- Change the classes already defined or create new ones easily copying and pasting the code of one of them.
- The first parameter, name, is the class name in your CSS Style sheet
- The second parameter, title, is the name of the class in the frequent classes menu.
- Save your changes and refresh the page. Check that your changes appear in your frequent classes menu.
Related articles:
- The CSS Tool (I): the CSS button
- The CSS tools (II): How to use the frequent classes
- The CSS tools (III): How to create your own frequent classes
Note:
If you are not able to watch the video try to go to “options” and choose “Play with the Java plugin” .


