Topic on Skin talk:Chameleon

TheCatchyName (talkcontribs)

For the component "cell" the current implementation for the span attribute has been disabled. Is there any way to work around this? I want to divide my page asymmetrically using the grid with cells, but I can't specify the width of cells since the aforementioned span attribute is currently not working.


Issue 217 on the Chameleon GitHub mentions this issue and their workaround, but didn't specify how they did it. Any suggestions on how to implement custom widths?

Morne Alberts (talkcontribs)

The span functionality was removed a long time ago, although the documentation still referred to it. In the latest Chameleon 3.3 those references have been removed and all the structure components (Grid, Row, Cell, Container) now allow id and class attributes.

You can now just add the normal Bootstrap column classes (e.g. col-md-3) to the Cell components to create an asymmetric layout.

Reply to "Cell span hack"