XF 2.0 / 2.1 / 2.2 / 2.3 AndyB Prefix style manager 1.0

Description :

Allows defining custom prefix styles.

This add-on is useful if you would like to define your own thread prefix background color.

(Example of Display styling) :

pic001.jpg


(Example of template modification) :

pic002.jpg


Setup step 1:

Go to Forums -> Thread prefixes and define a new thread prefix.
Select Other.
Enter label label-- and the name of the prefix.
Save

Setup step 2:

Enable development mode.
Go to Appearance -> Template modifications and edit the Prefix style manager.
Add &.label--examplePrefix { .m-labelVariation(white, #006600); } to the Replace box.
Save

Question and answers:

Q: How do I enable development mode?
A: Install the Development mode options add-on. After editing the Template modification, be sure to disable development mode.

Q: Can I add more than one code to the template modification?
A: Yes add one line for each thread prefix that you are using the Option to define the thread prefix color.

Download V1.0 :
 
Back
Top