Loading...
 
Features / Usability

Features / Usability


How do I set a fixed page width?

posts: 104 France

I'm setting up a site (using 1.7.7), and plan to change the tiki-top_bar.tpl so that I have a nice graphic in the top bar instead of just the Tiki version number.

The graphic will have a fixed width and height so it's not distorted, and is sized to display nicely on a 15" screen. At the moment, on my test system, I have it centred in the page, but what I would really like to do is to fix the Tiki page size so that the Tiki columns don't "overlap" the graphic.

Is there some way by editing the tpl or css files to fix the page width?

I've looked at the "greenmetal" theme, but it doesn't really do what I want since it only stops the page contracting too much, but doesn't stop it expanding.

Thanks for any help, JG

posts: 104 France

> Damian:
> Something like http://www.damosoft.co.uk or http://tikigod.org question

Oh yes, they look just like what I want! biggrin How do you do that?

I'm planning to base myself on bluegreen theme, or conceivably trollparty, but changing the colours to something lighter.

posts: 2881 United Kingdom

>
> Oh yes, they look just like what I want! biggrin How do you do that?
>

Through tables in a totally re-written and customised tiki.tpl

> I'm planning to base myself on bluegreen theme, or conceivably trollparty, but changing the colours to something lighter.
>

I have a new TarynsWorld II coming out soon which is a fixed width 780pixels. That will be commited to CVS in mods.tikiwiki.org soon

Damian

posts: 104 France

Thanks for the info... I find it daunting though. The Tiki css seem enormous and complicated to a newbie like me. I was hoping to would be possible to find one or two settings in the css file which would change the width calculation from a percentage based one to an absolute one.

I just tried fiddling with bluegreen.css (saving it to another name) and changing TD#centercolumn to 660 pixels and white instead of 100% and green. But since then Tiki displays nothing at all! Even when I fiddle the preferences back to use the original CSS using MySQL to change the setting in Tiki-perferences

Wonder what I did wrong?


posts: 104 France

> Damian:
> Something like http://www.damosoft.co.uk or http://tikigod.org question

Oh yes, they look just like what I want! biggrin How do you do that?

I'm planning to base myself on bluegreen theme, or conceivably trollparty, but changing the colours to something lighter.

posts: 2881 United Kingdom

>
> Oh yes, they look just like what I want! biggrin How do you do that?
>

Through tables in a totally re-written and customised tiki.tpl

> I'm planning to base myself on bluegreen theme, or conceivably trollparty, but changing the colours to something lighter.
>

I have a new TarynsWorld II coming out soon which is a fixed width 780pixels. That will be commited to CVS in mods.tikiwiki.org soon

Damian

posts: 104 France

Thanks for the info... I find it daunting though. The Tiki css seem enormous and complicated to a newbie like me. I was hoping to would be possible to find one or two settings in the css file which would change the width calculation from a percentage based one to an absolute one.

I just tried fiddling with bluegreen.css (saving it to another name) and changing TD#centercolumn to 660 pixels and white instead of 100% and green. But since then Tiki displays nothing at all! Even when I fiddle the preferences back to use the original CSS using MySQL to change the setting in Tiki-perferences

Wonder what I did wrong?