فتحات العرب Joomla! • Index page: Templates for Joomla! 3.x • Re: adding a module position issue

Sunday, March 9, 2014

Templates for Joomla! 3.x • Re: adding a module position issue

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.)

Statistics: Posted by pinkshirt — Mon Mar 10, 2014 5:17 am








via Joomla! http://ift.tt/1fhFow3

No comments:

Post a Comment