• Resolved matzz

    (@matzz)


    Hi,

    I am using the plugin to show several feeds in a single sidebar widget. I would like to hide the label (and therefore enforce showing all feeds) as this takes a lot of space on top of the list.
    I was able to hide the legend by using <style type="text/css">.ics-calendar-color-key {display: none}"</style> right before the shortcode.

    I would like to suggest an extra option for this like hidelegend=true

    Thanks for the support!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author room34

    (@room34)

    Thanks for this suggestion… I can see the value in it, but I’m trying to make sure I solve this problem in the best way possible.

    As the plugin is coded, it only shows the legend (at least, it’s supposed to only show it) if the feeds have colors associated with them. It seems to me that there is a need to have the legend if the feeds are color coded — so that users understand why events are different colors.

    I think it might be best to offer a set of possible values for this new setting:

    1. Full legend above calendar (current format)
    2. Full legend below calendar
    3. Info icon with full legend in a hover panel
    4. No legend (discouraged since it leaves users without explanation for colors)

    I assume you do have your feeds color coded, correct? Is there a need for that, if you’re not going to show the legend? If you remove the colors, the legend should not appear.

    Thread Starter matzz

    (@matzz)

    I have the feeds color coded, as they show the events of different teams of my sports club. I don’t need to show the legend, as the event always mentions the team name.
    Removing the colors would not be an option, as then the list will be very confusing.

    I really like that you already think about more options for this. I find number 3 also really appealing for my use case.

    Thank you!

    Plugin Author room34

    (@room34)

    That makes sense. Thanks! I will consider this… it mainly comes down to wanting to avoid adding more parameters as there are so many already! Since this can be done easily with CSS it’s not quite as critical to build into the code, although in principle it is always better to have a way to just not put something in the HTML in the first place, vs. hiding it with CSS.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide legend’ is closed to new replies.