Prefix style manager

Prefix style manager 1.0

No permission to buy ($35.00)
Compatible XF 2.x versions
  1. 2.0
  2. 2.1
  3. 2.2
  4. 2.3
Premium upgrade:

This XF2 add-on along with the entire collection can be purchased for $35.00 USD. Your Premium upgrade will allow you to download as many XF2 add-ons as you like for one year. Please see the entire collection located in the Resources area at this URL:

https://www.xf2addons.com/

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.
Author
AndyB
Views
155
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from AndyB

  • User agent
    User agent
    Allows seeing the types of devices members are using to view your forum.
  • View map
    View map
    Creates a button called View map for use in messages.
  • Remove install the app
    Remove install the app
    Removes 'Install the app' link on mobile devices.
  • GPX viewer
    GPX viewer
    Shows GPX attachments in a Google map.
  • Shop eBay
    Shop eBay
    Shop eBay widget.
Back
Top Bottom