Elxis CMS Forum

Extensions => Templates => Topic started by: Sunlight on March 15, 2009, 03:39:51

Title: How to enlarge the useful part of the standard Template to 100% ? (SOLVED)
Post by: Sunlight on March 15, 2009, 03:39:51
We are using the standard Elxis' template ("octo" I think).

It works OK, but its useful part is too narrow (only some 70 or 80%), compared to the large number of contents that we need to publish.

=> How could we enlarge the area of its useful space, so that all the screen-page can be filled up with content 100 % ?

Can it be done with this template, or are we obliged to install another one ?

(Some of ks-net's templates are, f.ex. 100% and well-looking. But we are afraid to lose all the adaptation work (logos, headers, footers, banners, etc), that we already did with the initial template)...

Thanks for a crystal-clear answer, whenever possible.
Title: Re: How to enlarge the useful part of the standard Template to 100% ?
Post by: ks-net on March 15, 2009, 04:05:44
Quote
Can it be done with this template, or are we obliged to install another one ?
you need to modify your okto template or  a copy of your okto template...

you need 100% with columns left and right? or no columns?
if with both columns, then in....   /templates/okto/css/layout.css

find near top:
#mainwrap {
  width:90%; /*center hack*/   
   margin:0 auto; /*center hack*/
   text-align:left;
   background: url(../images/rbg.png) repeat-y 80% 0;
   height:100% !Important;
   height:1%; /* IE */
   border: 1px solid #777777;
}

and change it to:
#mainwrap {
   width:99.5%; /*center hack*/   
    margin:0 auto; /*center hack*/
   text-align:left;
   background: url(../images/rbg.png) repeat-y 80% 0;
   height:100% !Important;
   height:1%; /* IE */
   border: 1px solid #777777;
}


important: 99.5 not 100%
Title: Re: How to enlarge the useful part of the standard Template to 100% ? (SOLVED)
Post by: Sunlight on March 16, 2009, 06:55:27
Thanks ks-net. Your recipe worked fine !

Congratulations for your crystal-clear way (+graphics) to explain things.