-
AuthorPosts
-
amilks Friend
amilks
- Join date:
- June 2009
- Posts:
- 40
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 10
- Thanked:
- 6 times in 1 posts
February 16, 2010 at 8:07 pm #148727Hello,
I am using one template for the home page and one template for the rest of the site. Both templates are rasite, but the home page template does not have a main content section, just the sideshow, the menu, and a couple other little things. You can see the site here: http://thewavecollection.com
What I can’t figure out how to remove on the template is the white content area. I removed the entire contents of the main.php block, and I searched every other layout block and I cannot seem to delete it from the style. I just want the home page not to have the white rounded corners area.
Thanks
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
February 25, 2010 at 4:08 am #333797Yes
please open the file/ templates/ja_rasite/layouts/default.php and try to find codes at line 56
[PHP]
<!– MAIN CONTAINER –>
<div id=”ja-container” class=”wrap <?php echo $this->getColumnWidth(‘cls_w’); ?>”>
<div class=”main”><div class=”ja-rs2-top”><div class=”ja-rs2-tl”> </div><div class=”ja-rs2-tr”> </div></div>
<div class=”ja-rs2-mid”><div class=”ja-rs2-ml”><div class=”ja-rs2-mr clearfix”>
<?php $this->loadBlock(‘breadcrumb’) ?>
<div id=”ja-mainbody” style=”width:<?php echo $this->getColumnWidth(‘mw’) ?>%”>
<?php $this->loadBlock(‘main’) ?>
<?php $this->loadBlock(‘left’) ?>
</div>
<?php $this->loadBlock(‘right’) ?>
</div></div></div>
[/PHP]-> replace:
[PHP]
<?php if ( !$this->isFrontPage() ) : ?>
<!– MAIN CONTAINER –>
<div id=”ja-container” class=”wrap <?php echo $this->getColumnWidth(‘cls_w’); ?>”>
<div class=”main”><div class=”ja-rs2-top”><div class=”ja-rs2-tl”> </div><div class=”ja-rs2-tr”> </div></div>
<div class=”ja-rs2-mid”><div class=”ja-rs2-ml”><div class=”ja-rs2-mr clearfix”>
<?php $this->loadBlock(‘breadcrumb’) ?>
<div id=”ja-mainbody” style=”width:<?php echo $this->getColumnWidth(‘mw’) ?>%”>
<?php $this->loadBlock(‘main’) ?>
<?php $this->loadBlock(‘left’) ?>
</div>
<?php $this->loadBlock(‘right’) ?>
</div></div></div>
<?php endif; ?>[/PHP]
The main content will not show on the home page.
amilks Friendamilks
- Join date:
- June 2009
- Posts:
- 40
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 10
- Thanked:
- 6 times in 1 posts
February 25, 2010 at 1:18 pm #333874Thanks, but the white area is still there.
I did delete the white area by deleting:
<!-- MAIN CONTAINER -->
<div id="ja-container" class="wrap <?php echo $this->getColumnWidth('cls_w'); ?>">
<div class="main"><div class="ja-rs2-top"><div class="ja-rs2-tl"> </div><div class="ja-rs2-tr"> </div></div>
<div class="ja-rs2-mid"><div class="ja-rs2-ml"><div class="ja-rs2-mr clearfix">
<?php $this->loadBlock('breadcrumb') ?>
<div id="ja-mainbody" style="width:<?php echo $this->getColumnWidth('mw') ?>%">
<?php $this->loadBlock('main') ?>
<?php $this->loadBlock('left') ?>
</div>
<?php $this->loadBlock('right') ?>
</div></div></div><div class="ja-rs2-bot"><div class="ja-rs2-bl"> </div><div class="ja-rs2-br"> </div></div>
And then I use another template for the rest of the site.
-
AuthorPosts
This topic contains 3 replies, has 2 voices, and was last updated by amilks 14 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum