Have a container <div> with a class, and use the > selector. Lets say your container div’s class is “myclass”:
.myclass ul li {
...this will affect both levels of li.
}
.myclass > ul > li {
...this will only affect the first level.
}
.myclass > ul > li > ul > li {
<?php
// get category model by category id, assume you have known category id, $categoryId
$_category = Mage::getModel('catalog/category')->load($categoryId);
// category name
$categoryName = $_category->getName();
// category description
$categoryDescription = $_category->getDescription();
// category url
$categoryUrl =… Read More