Have a look at how the protostar template handles this in it's index.php file (from Line 50.) It basically uses different classes on the component div to set the width. So if both right and left columns have modules in there set the class to span6, if only one column has modules set the class to span9 and if neither column has modules set the class to span12.
It then assigns this class to the content div (Line 174.)
via Joomla! http://ift.tt/1fhFow3
It then assigns this class to the content div (Line 174.)
Statistics: Posted by pinkshirt — Mon Mar 10, 2014 5:17 am
via Joomla! http://ift.tt/1fhFow3
No comments:
Post a Comment