Home button on the left side of the Horizontal Top Navigation Bar |
We are going to edit the following file:
\app\design\frontend\default\default\template\catalog\navigation\top.phtmlWithin the <div class="nav-container"><ul id="nav">, but above the <?php echo $_menu ?>, paste the following code snippet:
<?php $_anyActive = false; foreach ($this->getStoreCategories() as $_category) { $_anyActive = $_anyActive || $this->isCategoryActive($_category); } ?>
<li class="<?php echo !$_anyActive ? 'active' : '' ?>"><a href="<?php echo $this->getUrl('')?>"><?php echo $this->__('Home') ?></a></li>