PDA

View Full Version : Site width ---> Alterations?


gcr
08-31-2008, 06:47 AM
http://demo.ilance.com/main.php = narrow

http://demo.ilance.com/search.php?mode=product = wide

And so on, is there a global setting to keep all pages in the wide proportion?
So that it fills the browser on every page.

I find that the page expanding and contracting on all the different URL's is distracting.

wterpilo
08-31-2008, 02:04 PM
Hi
it's because of presented data. In fact sometimes there is so much columns that we had to use 100% of page. But of course you can edit templates. They are html files and you have option to set site width in AdminCP->Languages->Templates->Variables
So in fact you can do anything you want :)

Wojtek

gcr
08-31-2008, 08:30 PM
Is this where you mean:
Admincp>Languages>Templates>CC Vars

How would you make every page fill the browser there?

I can see Template Layout Width there, set to 960px, what would be the setting to make every single page on the iLance script show the full browser width?

Peter
09-01-2008, 02:39 PM
You can manage this setting from your CSS manager -> Template Variables. Basically a template variable is a raw setting even your CSS styles can use. Think of a template variable like this: {templatevariable}. If you add that {templatevariable} anywhere in your template, it will produce the proper result.

So in this case, the template variable you're trying to change is the overall page wrapper which by default is set to 960px. You can change this to fixed like it is, or set it to be like 100%.

Regards,
Peter

gcr
09-03-2008, 11:58 PM
Thanks, I managed to find and test this out, good stuff!