• Resolved vsmh

    (@vsmh)


    hello, can you tell me how to display the color of the main category? Currently, if I select the event in more than one category, the default color is the last in the list. Is it possible to make it the color of the main category?
    Thanks for your help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Andy Fragen

    (@afragen)

    CSS doesn’t work that way. The category selectors are identical and that last declared will be the color displayed.

    There are 2 options.

    1. You can use the ‘Hide’ to not colorize one of the categories.
    2. You can use a border for one category and a background for another and both will display.

    • This reply was modified 7 years, 9 months ago by Andy Fragen.
    Thread Starter vsmh

    (@vsmh)

    thanks for your answer, I understand the reasoning. But I think it can be a good evolution for a future version. When we have an event that corresponds to several categories it is interesting to use the color of the main category. Especially as with the “superpowers” the event is still emerging regardless of the category selected.

    Plugin Author Andy Fragen

    (@afragen)

    You should try option #1 above. From the Category Colors Settings check the “Hide” checkbox for all ‘minor’ categories.

    Thread Starter vsmh

    (@vsmh)

    Yes I understood correctly, the problem is that I do not want to hide the legend so far 🙂

    Plugin Author Andy Fragen

    (@afragen)

    There is a setting to allow hidden categories in the legend.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Main category color’ is closed to new replies.