This is only for gantry with 12 columns (in Joomla 1.5):
it gives you an option in the template parameters to change the width of the template based on the width of a single column: default is 60px.
the width of the template will be calculated like this:
(12 * column-width) + 240px
example:
(12 * 60px) + 240px = 960px
(12 * 70px) + 240px = 1080px
(12 * 80px) + 240px = 1200px
in templateDetails.xml add at the end of the code but before </params></install>
<param name="experiment" type="gspacer" default="" description="" label=" " glabel="EXPERIMENTAL" />
<param name="dyngrid" default="60" type="text" class="text-short" label="mywidth"/>
As always be sure to clear all kinds of caches and more important:
keep a backup of your files.
move the file mywidth.php into the features-folder of your template.
It leaves styledeclaration.php untouched ...
Djamil was so nice to pick up and improve my idea, so the credits for the code go to Mr. Legato.
Don't forget to clear your Joomla cache (in the backend under "tools") to make this work ...