how to get rid of mainbody?

Professional Jomal template designed to be easily adaptable to all kinds of business
GK User
Wed May 19, 2010 10:45 am
hi,

i wanna to get rid of the mainbody layer. i set up the template with mainbody position
mainbody position: no mainbody, no content or module in mainbody, but the white stripe
(look at the graphic) stays on stage. I can only can rid of it, if I delete the
<div id="gk-container">

<div class="static clearfix">

<div id="gk-mainbody" style="width:<?php echo $this->getColumnWidth('mw') ?>%">

<?php $this->loadBlock('main') ?>

<?php $this->loadBlock('left') ?>

</div>

<?php $this->loadBlock('right') ?>

</div>

</div>

in layouts/default.php

nice greetings
User avatar
Senior Boarder

GK User
Wed May 19, 2010 10:56 am
please provide your page.
User avatar
Junior Boarder

GK User
Wed May 19, 2010 12:58 pm
have site on localhost, but you can see problem on the screenshot-picture.
User avatar
Senior Boarder

GK User
Wed May 19, 2010 3:46 pm
this has been covered a few times in this forum... if you remove mainbody from the templates files, you will also remove it from all the other pages...
User avatar
Platinum Boarder

teitbite
Fri May 21, 2010 11:01 am
Hi

Does disabling "Show mainbody on frontpage" option at template options doesn't work?
User avatar
Moderator

GK User
Sat May 22, 2010 8:39 am
hey teitbite, no it does not.. .it's always there...
User avatar
Platinum Boarder

teitbite
Mon May 24, 2010 11:00 am
Hi

Can someone send me ftp login details to the site with this problem? I'll fix the code for that and post the solution here.


Please do not forget to give link to this thread inside mail.
User avatar
Moderator

GK User
Mon Jun 21, 2010 4:56 pm
Hi,

Have you resolve this problem. Remove the mainbody on all pages ?
User avatar
Expert Boarder

GK User
Mon Jun 21, 2010 5:54 pm
abdenour wrote:
Hi,

Have you resolve this problem. Remove the mainbody on all pages ?


You cannot remove mainbody on all pages, or else how would you see any content, besides modules?

Like i already said before, on Corporate2 template even mainbody is disable on frontpage, you need to populate mainbody module position with some module, or else it will always display a white square.

This is necessary because of the style implementated on "gk-content" block set on this template.

Cheers
User avatar
Platinum Boarder

GK User
Thu Jul 01, 2010 7:20 pm
Hi

but can you put the Module suffix to ' clear' ??????
User avatar
Fresh Boarder

GK User
Fri Jul 02, 2010 3:59 am
Same problem... if i publish content in mainbody these replaced the component and input the publish mainbody content. And if there is nothin publish, i get the white squater
User avatar
Fresh Boarder

GK User
Wed Jul 14, 2010 1:32 am
vflexi wrote:
Hi

but can you put the Module suffix to ' clear' ??????


I'm having the same question. I want the mainbody to stay, but setting the Module Suffix to ' clear'. Is that possible?
User avatar
Senior Boarder

GK User
Wed Jul 21, 2010 5:32 pm
Do we have a resolution to this yet?
User avatar
Junior Boarder

GK User
Wed Jul 21, 2010 5:40 pm
[center]Image[/center]

this can't be done as it is now - maybe it can be done with changing the css ... :)
User avatar
Platinum Boarder

teitbite
Thu Jul 22, 2010 4:35 pm
User avatar
Moderator


cron