Shape 5

Joomla Templates => User Choice - August 2007 - Club => : webpartner April 25, 2008, 07:20:39 AM



: Need help setting fixed width...
: webpartner April 25, 2008, 07:20:39 AM
I accomplished this with no problem in joomla 1.0.15...
Now running joomla 1.5.2 on windowsXP professional...
-------------------------------------------------------

I'm trying to set a fixed width of approx 996px
But, no matter what I do it always re-sets to 967px
---
(http://www.lazaruslog.com/graphs/sshot.gif)
---
I can acheive the desired effect by changing certain
statements in the index.php but... as soon as the
mouse touches the active screen area it re-sets to 967px...

This happens in all browsers & clearing cache has no effect...

Can you please tell me which script or variable
determines the final value of s5_body_container ?

Thanks...
Bob


: Re: Need help setting fixed width...
: mikek April 25, 2008, 12:07:16 PM
Sorry about that, it looks like there was a line missing from the index.php file if you add the following into your index.php with the rest of the configuration variables (you will see them about 60 lines down)

$s5_alt_width_type = $this->params->get ("xml_altwidthtype");

then everything will work fine. Just set the slider to "no" so it's not shown and set your alt width.

The template in the download section reflects this change.

Regards,


: Re: Need help setting fixed width...
: webpartner April 29, 2008, 09:07:35 AM
No wonder... I knew it had to be something
so simple I was just overlooking it...

I made so many changes to the template that it
was hard to separate the customizing changes from
the changes I made trying to compensate for the
fixed width not holding, so...

Instead of undoing everything, I upgraded to joomla 1.5.3
and started over... seems to be working fine now.

you owe me $1.27 for helping you debug the template LOL...

Thanks Mike,
Bob