Forums / Setup & design / How to fixed width of maincontent

How to fixed width of maincontent

Author Message

Alexandre huytq

Friday 14 July 2006 5:12:27 am

I want to find how to fixed width of maincontent in pagelayout when the page has no leftmenu or fightmenu (ex: latest item, basket, . . ). I tried to see in pagelayout.tpl and never have idea for custom this pagelayout. I not think any code piece to do that.
Let's guide me do that, please.

Thanx for help.

Tran Quang Huy

Jeroen Sangers

Friday 14 July 2006 7:49:23 am

The width of the maincontent is not set in pagelayout.tpl, but in the stylesheets.. Check which stylesheets you are using, override them and modify the width.

Alexandre huytq

Monday 17 July 2006 9:32:44 pm

I see that you talk. But in my opinion is other. I only want leftmenu or rightmenu is lose or hide when it in some level submenu. By default, left menu or right menu still exists in my site.
Or with right menu containing "latest news" item for example, It'll lose when not contain any news item.

Thanks for help. :)

Tran Quang Huy

Alexandre huytq

Friday 21 July 2006 1:13:47 am

Hix. How to that i want is also like how to do view full a article or folder ( haven't leftmenu or right menu ). That can not only edit in stylesheet. Because the stylesheet files only can align the component.
I think it can to edit in any somewhere but not stylesheet.
Who have any solution about this proplem. Let't help me.
Thank.

Tran Quang Huy