Menu & CSS Help

3 posts by 3 authors in: Forums > CMS Builder
Last Post: August 22, 2011   (RSS)

Re: [northernpenguin] Menu & CSS Help

By zip222 - August 22, 2011

It's not necessary to include all of those classes in your HTML, when you can instead use the cascading aspect of CSS to target the various levels of your navigation. example...

.nav {

}

.nav h2 {

}

.nav li a {

}

.nav li li a {

}


This approach allows you to keep your html very clean and simple.

Re: [northernpenguin] Menu & CSS Help

By robin - August 22, 2011

Hey,

If you want to integrate your CMS Builder categories into your existing layout you can change the content of the foreach loop to match your layout.

Something like:
<li><a class="menulink" href="<?php echo $category_topRecord['uri'] ?>" title="<?php echo $category_topRecord['name'] ?>"><?php echo $category_topRecord['name'] ?></a></li>

Hope that helps,
Robin
Robin
Programmer
interactivetools.com