By default the columns in ChronoConnectivity are aligned to the left.
Is there a possibility to align (some) columns to the right (or center)?
Is there a possibility to align (some) columns to the right (or center)?
Hi geertmartens,
Putting this in the Table Header box seems to work OK
Note that the \ is required as the class has a . in it.
Bob
Putting this in the Table Header box seems to work OK
<?php
$jdoc = JFactory::getDocument();
$style = "
.gbs3 .th-model_id\.column {
text-align: right;
}
.gbs3 .td-model_id\.column {
text-align: right;
}
";
$jdoc->addStyleDeclaration($style);
?>Replace model_id and column with the values from your listing.
Note that the \ is required as the class has a . in it.
Bob
This topic is locked and no more replies can be posted.
