Hey @Thibault,
Sorry that this isn’t documented clearly somewhere on our site – we should fix that promptly.
In the meantime, the thing you have to do here is actually call upon the global $wp_query variable and use its get_queried_object_id() method to, well, get the ID queried object [the event].
I wrote up code that demonstrates this and that adds Event Category terms to the body_class for you here: https://gist.github.com/ggwicz/fdee77d7d8f54ba0da4b
Check that out! Try adding that snippet to your theme’s functions.php file and it should do the trick.
For example, let’s say you have these three categories on a given event:
• Private Event
• Concert
• Free Food
This code, if added in functions.php, will add these three HTML class names to the <body> tag:
• tribe-events-cat-private-event
• tribe-events-cat-concert
• tribe-events-cat-free-food
—
I hope this helps!
Cheers,
George