Hide Ja-Container on Frontpage

I see some threads on how to do this on the joomla templates, but not with magento

Is there a way to completely disable the ja-container div from the frontpage only? (e.g. via unsetChild or other method in update xml?)

3 answers

Profile photo of chavan 100.00 $tone March 29, 2012

go to this folder app\design\frontend\default\jm_feronistemplate\pa ge\

you can see some column files 2columns-left.phtml , 2columns-right.phtml , 3columns.phtml , 1column.phtml

in these file you can see the container div and you can hide

Try using this If condition

PHP Code:

<?php if(Mage::app()->getFrontController()->getRequest()->getRouteName() == 'cms' && Mage::getSingleton('cms/page')->getIdentifier() == 'home') : ?>

<?php endif; ?>


Please login or Register to Submit Answer

Written By