I use the following approach to apply a custom style to a task:
gantt.templates.task_class = function(start, end, task) { ... }
but it applies the style not only to the task but also the left and right side text. I know that i can apply an additional style to the left and right side text but in case the style applied to the task is an animation it affects the side text too.
I would like to apply the style ONLY to the gantt_task_content class (without beeing affected the left and right side text)
Any solution?