Back to the issue at hand, I think I partly understand my issue with &chunkCSSName.
I discovered why no CSS were rendered when using a chunk for the CSS : all the classes have a number appended (in my case 69), and after looking into it, it’s the chunk’s ID ! As the styles are not appended with the ID, it simply isn’t rendered...
I guess it’s a feature not a bug since it’s exactly what was intended to begin with :
[tt]<div class=\’CALxContent’.$this->chunkCSSID.’\’>’."\n";[/tt]
logically renders :
[tt]<div class=’CALxContent69’>[/tt]
I checked, logic is identical for all classes.
The thing is, the style for this div is :
.CALxContent {
margin: 0;
padding: 0;
font-size: 1em;
margin-bottom: 1em;
margin-right : 1em;
margin-left : 1em;
text-align: center;
color: Black;
}
should be
.CALxContent69 {
margin: 0;
padding: 0;
font-size: 1em;
margin-bottom: 1em;
margin-right : 1em;
margin-left : 1em;
text-align: center;
color: Black;
}
Which means that chunk CSS should either have a dynamically generated ID or - simpler - just add a space between the class and the chunk’s ID (and prepend it with something like "chunk" - can’t have a class with numbers only : e.g it would render chunk69) to allow for further styling based on the ID while not breaking the default style...
In our case the style would read
.CALxContent chunk69 {
margin: 0;
padding: 0;
font-size: 1em;
margin-bottom: 1em;
margin-right : 1em;
margin-left : 1em;
text-align: center;
color: Black;
}
[tt]<div class=\’CALxContent’.$this->chunkCSSID.’\’>’."\n";[/tt]
would become something like (forgive my php

) :
[tt]<div class=\’CALxContent’.’ chunk’.$this->chunkCSSID.’\’>’."\n";[/tt]