Warning: The author of this contribution does not provide support for it anymore.

Quick Title Edition

Frequently Asked Questions

How to use CSS classes with that MOD ?

That feature is very interesting if your board has many clear and dark styles.
For example, An attribute like [Solved] will be hardly visible on a dark style.

For that, you will have to create, in a first time, a specific language key.
Once the language key is created, you need to define a CSS class per each installed style.
Attention, the language key and the CSS class must have the same name. In that tutorial, we will use the QTE_CHECKED language key.

If you use a style based on prosilver :

  • Open the styles/prosilver/theme/qte.css file.
    prosilver corresponds to the name of the style.
  • Find :

    Code: Select all

    .qte_cancelled { color: #cc0000; }
  • Add after :

    Code: Select all

    .qte_checked { color: #006600; }
    You can set too the CSS properties you wish.
If you use a style based on subsilver2 :

  • Open the styles/subsilver2/theme/stylesheet.css file.
    subsilver2 corresponds to the name of the style.
  • Find :

    Code: Select all

    .qte_cancelled { color: #cc0000; font-weight: bold; }
  • Add after :

    Code: Select all

    .qte_checked { color: #006600; font-weight: bold; }
    You can set too the CSS properties you wish.

When your files will be modified, upload the files to their proper locations, and refresh your styles in the administration control panel.

Now, create a new topic attribute. In the Attribute name field, enter QTE_CHECKED. Define the other settings. specially do not define an attribute colour, and submit.

Now, as the style you use, the attributes colours will be different.