- Compatible XF 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)
(Example of template modification)
Setup step 1:
Go to Forums -> Thread prefixes and define a new thread prefix.
Select Other.
Enter
Save
Setup step 2:
Enable development mode.
Go to Appearance -> Template modifications and edit the Prefix style manager.
Add
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 prefix style?
A: Yes add as many as you like.
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)
(Example of template modification)
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 prefix style?
A: Yes add as many as you like.