Prefix style manager

XF2 Addons Prefix style manager 1.0
Allows defining custom prefix styles.

Compatible versions
2.0, 2.1, 2.2, 2.3
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.webp


(Example of template modification)
pic002.webp


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.
shanruto
Author shanruto
Level
10
5,175 pts
1.0 Version
7 Downloads
899 Views
Published
Updated
0.00 star(s) 0 ratings Average Rating (0)
No Tags

More files from shanruto

Top Bottom