[[!Wayfinder? &startId=`0` &outerTpl=`outer` &levelClass=`level` &selfClass=`self` &cssTpl=`menucss`]
<ul class="topnav">[[+wf.wrapper]]</ul>
<link rel="stylesheet" media="all" type="text/css" href="assets/menu.css" />
.topnav {
display: block;
width: 100%;
border: 0px solid green;
margin: 0px 0px 0px 0px;
padding: 0px;
text-indent: 0%;
list-style-type:none;
}
li.level1 a:link {font-size: 14px; line-height: 26px; color: #000000; text-decoration: none; margin-left: 10px;}
li.level1 a:hover {font-size: 14px; line-height: 26px; color: #ffffff; text-decoration: none; margin-left: 15px;}
li.level1 a:visited {font-size: 14px; line-height: 26px; color: #000000; text-decoration: none; margin-left: 10px;}
li.level2 a:link {font-size: 12px; line-height: 20px; color: #000000; text-decoration: none; margin-left: 20px;}
li.level2 a:hover {font-size: 12px; line-height: 20px; color: #ffffff; text-decoration: none; margin-left: 25px;}
li.level2 a:visited {font-size: 16px; line-height: 20px; color: #000000; text-decoration: none; margin-left: 20px;}
li.level3 a:link {font-size: 10px; line-height: 16px; color: #000000; text-decoration: none; margin-left: 30px;}
li.level3 a:hover {font-size: 10px; line-height: 16px; color: #ffffff; text-decoration: none; margin-left: 35px;}
li.level3 a:visited {font-size: 10px; line-height: 16px; color: #000000; text-decoration: none; margin-left: 30px;}
li.self a:link {color: #ff1a00;}
li.self a:hover {color: #ff1a00;}
li.self a:visited {color: #ff1a00;}<div id="menu"> <ul class="topnav"><li class="first level1"><a href="http://mysite.com/" title="Home" >Home</a></li> <li class="level1 active"><a href="index.php?id=2" title="Practice Areas" >Practice Areas</a><ul class="topnav"><li class="first level2 active self"><a href="index.php?id=3" title="Monitoring Unobservable Behavior" >Monitoring Unobservable Behavior</a><ul class="topnav"><li class="first level3"><a href="index.php?id=4" title="Hidden Populations" >Hidden Populations</a></li> <li class="level3"><a href="index.php?id=7" title="Prescription Drug Abuse" >Prescription Drug Abuse</a></li> <li class="level3"><a href="index.php?id=8" title="Intelligence Gathering" >Intelligence Gathering</a></li> <li class="last level3"><a href="index.php?id=9" title="Custom Applications" >Custom Applications</a></li> </ul></li> <li class="last level2"><a href="index.php?id=5" title="Managing Organizational Change" >Managing Organizational Change</a><ul class="topnav"><li class="first level3"><a href="index.php?id=10" title="Strategic Planning" >Strategic Planning</a></li> <li class="level3"><a href="index.php?id=11" title="Performance Management" >Performance Management</a></li> <li class="last level3"><a href="index.php?id=12" title="Custom Applications" >Custom Applications</a></li> </ul></li> </ul></li> <li class="level1"><a href="index.php?id=6" title="Principles" >Principles</a></li> <li class="last level1"><a href="index.php?id=13" title="Contact" >Contact</a></li> </ul> </div>
li a { text-decoration: none; color: #000000; }
li a:hover { color: #ffffff; }
li.level1 a { font-size: 14px; line-height: 26px; margin-left: 10px; }
li.level1 a:hover { margin-left: 15px; }
li.level2 a { font-size: 12px; line-height: 20px; margin-left: 20px; }
li.level2 a:hover { margin-left: 25px; }
li.level3 a { font-size: 10px; line-height: 16px; margin-left: 30px; }
li.level3 a:hover { margin-left: 35px; }
li.self a { color: #ff1a00; }
li.self > a { color: #ff1a00; }li.here a { text-decoration: underline; }li.here > a { text-decoration: underline; }
It’s a pleasure to help.font-size: 1.2em; line-height: 2.2em; margin-left: 0.9em;
<ul> <li id="item4" class="first"><a href="index.php?id=4" title="Page A" >Page A</a></li> <li id="item5"><a href="index.php?id=5" title="Page B" >Page B</a></li> <li id="item8"><a href="index.php?id=8" title="Page C" >Page C</a></li> <li id="item11" class="last"><a href="index.php?id=11" title="Page D" >Page D</a></li> </ul>
li#item5 {
background-color: #f9f;
}
li#item5 a {
color: #a06;
}[[!FirstChildRedirect]]
I guess that attribute inheritance can be both strange and persistent.Indeed, it can be irritating. Most likely it’s a question of "specificity", see f.e. here:
I was also unable to assign a ’text-align’ attribute to the style and have it actually respond.If you show me your CSS definitions for that, may be I can see what’s going wrong.
I will still need to hunt around for an effective way to have a menu item display but not function as a link.For that I wanted to use the Wayfinder parameter [tt]&categoryFoldersTpl[/tt] which kongondo describes in his tutorial from page 47 on.