Hi
How do I place the home page main content between the product slideshow and the product spotlight?
Thanks
John
2 answers
Hi johnnieg,
You can open the file of app\design\frontend\default\jm_adamitetemplate\pa ge\2columns-right.phtml move this block of code
PHP Code:
<!-- MAIN CONTAINER -->
<div id="ja-container" class="wrap ja-r1">
<div class="main"><div class="main-inner1 clearfix">
<div id="ja-mainbody">
<div id="ja-main" class="clearfix">
<!-- Mass Top -->
<?php if ($this->getChildHtml('mass-top')) : ?>
<div id="ja-content-mass-top" class="ja-mass ja-mass-top clearfix">
<?php echo $this->getChildHtml('mass-top') ?>
</div>
<?php endif; ?>
<!-- //Mass Top -->
<div id="ja-contentwrap" class="ja-r1">
<!-- CONTENT -->
<div id="ja-content" class="clearfix">
<div id="ja-current-content" class="clearfix">
<!-- global messages -->
<?php echo $this->getChildHtml('global_messages') ?>
<!-- // global messages -->
<div id="ja-content-top" class="clearfix">
<!-- primary content -->
<?php echo $this->getChildHtml('content-top') ?>
<!-- // primary content -->
</div>
<div class="ja-content-main clearfix" id="ja-content-main">
<!-- primary content -->
<?php echo $this->getChildHtml('content') ?>
<!-- // primary content -->
</div>
</div>
</div>
<!-- //CONTENT -->
<!-- Mass Bottom -->
<?php if ($this->getChildHtml('mass-bottom')) : ?>
<div id="ja-content-mass-bottom" class="ja-mass ja-mass-bottom clearfix">
<?php echo $this->getChildHtml('mass-bottom') ?>
</div>
<?php endif; ?>
<!-- //Mass Bottom -->
</div>
</div>
</div>
<!-- COLUMN -->
<div id="ja-right" class="column sidebar">
<?php echo $this->getChildHtml('left') ?>
<?php echo $this->getChildHtml('right') ?>
</div>
<!-- //COLUMN -->
</div></div>
</div>
<!-- //MAIN CONTAINER -->
To the place above this spotlight block
PHP Code:
<?php if ($this->getChildHtml('productsspotlight')) : ?>
<!-- JM Productsspotlight -->
<div id="ja-productsspotlight" class="wrap">
<div class="main">
<div class="main-inner1 clearfix">
<?php echo $this->getChildHtml('productsspotlight') ?>
</div>
</div>
</div>
<!-- //JM Productsspotlight -->
<?php endif; ?>
Let me know if that help !
Hi
Thanks for the reply. I’ve moved the code around and it looks like this:
<!-- //TOP SPOTLIGHT -->
<?php endif; ?>
<!-- MAIN CONTAINER -->
<div id="ja-container" class="wrap ja-r1">
<div class="main"><div class="main-inner1 clearfix">
<div id="ja-mainbody">
<div id="ja-main" class="clearfix">
<!-- Mass Top -->
<?php if ($this->getChildHtml(‘mass-top’)) : ?>
<div id="ja-content-mass-top" class="ja-mass ja-mass-top clearfix">
<?php echo $this->getChildHtml(‘mass-top’) ?>
</div>
<?php endif; ?>
<!-- //Mass Top -->
<div id="ja-contentwrap" class="ja-r1">
<!-- CONTENT -->
<div id="ja-content" class="clearfix">
<div id="ja-current-content" class="clearfix">
<!-- global messages -->
<?php echo $this->getChildHtml(‘global_messages’) ?>
<!-- // global messages -->
<div id="ja-content-top" class="clearfix">
<!-- primary content -->
<?php echo $this->getChildHtml(‘content-top’) ?>
<!-- // primary content -->
</div>
<div class="ja-content-main clearfix" id="ja-content-main">
<!-- primary content -->
<?php echo $this->getChildHtml(‘content’) ?>
<!-- // primary content -->
</div>
</div>
</div>
<!-- //CONTENT -->
<!-- Mass Bottom -->
<?php if ($this->getChildHtml(‘mass-bottom’)) : ?>
<div id="ja-content-mass-bottom" class="ja-mass ja-mass-bottom clearfix">
<?php echo $this->getChildHtml(‘mass-bottom’) ?>
</div>
<?php endif; ?>
<!-- //Mass Bottom -->
</div>
</div>
</div>
<!-- COLUMN -->
<div id="ja-right" class="column sidebar">
<?php echo $this->getChildHtml(‘left’) ?>
<?php echo $this->getChildHtml(‘right’) ?>
</div>
<!-- //COLUMN -->
</div></div>
</div>
<!-- //MAIN CONTAINER -->
<?php if ($this->getChildHtml(‘productsspotlight’)) : ?>
<!-- JM Productsspotlight -->
<div id="ja-productsspotlight" class="wrap">
<div class="main">
<div class="main-inner1 clearfix">
<?php echo $this->getChildHtml(‘productsspotlight’) ?>
</div>
</div>
</div>
<!-- //JM Productsspotlight -->
<?php endif; ?>
however the content hasn’t moved above the spotlight.
Any ideas?
Thanks
John
This question is now closed