<!-- start side bar --> <div id="wrapper-rightcol"> <h3>Navigation</h3> <div id="mainmenu"> <ul> <li>[[Wayfinder? &startId=`0` &hereClass=`active`]]</li> </ul> </div> </div>
#wrapper-rightcol {
float: right;
width: 200px;
margin: 20px 0px 20px 2em;
text-align: center;
line-height: 140%;
font-family: "Lucida Grande","Lucida Sans Unicode",arial,sans-serif;
border-left: 1px solid #eee;
padding-right: 30px;
}
#sideContent {
margin: 25px auto;
}
#mainmenu {
width: 170px;
margin: 0 0 10px 0;
padding-left: 15px;
font-size: 0.9em;
}
#mainmenu ul {
list-style: none;
width: 170px;
margin: 0 0 10px 0;
padding: 0;
font-size: 1.1em;
}
#mainmenu ul li {
margin-bottom: 1px;
}
#mainmenu ul li a, #mainmenu ul li ul li a, #mainmenu ul li.active ul li a {
font-weight: bold;
height: 20px;
text-decoration: none;
color: #505050;
display: block;
padding: 4px 0 2px 0px;
background: url('../img/menu.png') top center repeat-x;
border-left: 4px solid #cccccc;
}
#mainmenu ul li a:hover, #mainmenu ul li ul li a:hover {
background: url('../img/menu-hover.png') top center repeat-x;
color: #336699;
border-left: 4px solid #336699;
}
#mainmenu ul li.active a, #mainmenu ul li.active ul li.active a {
background: url('../img/menu-active.png') top center repeat-x;
color: #336699;
border-left: 4px solid #FF9900;
}
#mainmenu ul li.active a:hover, #mainmenu ul li.active ul li a:hover {
background: url('../img/menu-hover.png') top center repeat-x;
color: #336699;
border-left: 4px solid #336699;
}
#mainmenu ul li ul {
width: 155px;
margin: 1px 0 0 15px;
font-size: .9em;
}[[Wayfinder? &startId=`0` &hideSubMenus=`TRUE`]]
<div id="mainmenu"> [[Wayfinder ... ]] </div>
thanks for the reply, i removed the ul and li tags from the template and added &hideSubMenus=`TRUE` and still the submenus are shown.
[[Wayfinder? &startId=`0` &hideSubMenus=`TRUE`]]
[[!Wayfinder? &startId=`0` &hideSubMenus=`TRUE`!]] [[!Wayfinder!? &startId=`0` &hideSubMenus=`TRUE`]]
<!-- start side bar -->
<div id="wrapper-rightcol">
<h3>Navigation</h3>
<div id="mainmenu">
[[Wayfinder? &startId=`0` &hideSubMenus=`TRUE`]]
</div>
</div>#wrapper-rightcol {
float: right;
width: 200px;
margin: 20px 0px 20px 2em;
text-align: center;
line-height: 140%;
font-family: "Lucida Grande","Lucida Sans Unicode",arial,sans-serif;
border-left: 1px solid #eee;
padding-right: 30px;
}
#sideContent {
margin: 25px auto;
}
#mainmenu {
width: 170px;
margin: 0 0 10px 0;
padding-left: 15px;
font-size: 0.9em;
}
#mainmenu ul {
list-style: none;
width: 170px;
margin: 0 0 10px 0;
padding: 0;
font-size: 1.1em;
}
#mainmenu ul li {
margin-bottom: 1px;
}
#mainmenu ul li a, #mainmenu ul li ul li a, #mainmenu ul li.active ul li a {
font-weight: bold;
height: 20px;
text-decoration: none;
color: #505050;
display: block;
padding: 4px 0 2px 0px;
background: url('../img/menu.png') top center repeat-x;
border-left: 4px solid #cccccc;
}
#mainmenu ul li a:hover, #mainmenu ul li ul li a:hover {
background: url('../img/menu-hover.png') top center repeat-x;
color: #336699;
border-left: 4px solid #336699;
}
#mainmenu ul li.active a, #mainmenu ul li.active ul li.active a {
background: url('../img/menu-active.png') top center repeat-x;
color: #336699;
border-left: 4px solid #FF9900;
}
#mainmenu ul li.active a:hover, #mainmenu ul li.active ul li a:hover {
background: url('../img/menu-hover.png') top center repeat-x;
color: #336699;
border-left: 4px solid #336699;
}
#mainmenu ul li ul {
width: 155px;
margin: 1px 0 0 15px;
font-size: .9em;
}<div class="sideblock" id="sideMenu"> [!Wayfinder? &startId=`0` &level=`3` &hideSubMenus=`TRUE` &hereTpl=`wfHere`!] </div>
<li><a [+wf.classes+] href="[+wf.link+]" title="[+wf.title+]">[+wf.linktext+] «</a>
<!--[if lte IE 6]>
<a class="sub" href="[+wf.link+]" title="[+wf.title+]">[+wf.linktext+]
<table><tr><td>
<![endif]-->
[+wf.wrapper+]
<!--[if lte IE 6]>
</td></tr></table>
</a>
<![endif]-->
</li>#wrapper-rightcol {
float: right;
width: 200px;
margin: 20px 0px 20px 2em;
text-align: center;
line-height: 140%;
font-family: "Lucida Grande","Lucida Sans Unicode",arial,sans-serif;
border-left: 1px solid #eee;
padding-right: 30px;
}
#sideContent {
margin: 25px auto;
}
#mainmenu {
width: 170px;
margin: 0 0 10px 0;
padding-left: 15px;
font-size: 0.9em;
}
#mainmenu ul {
list-style: none;
width: 170px;
margin: 0 0 10px 0;
padding: 0;
font-size: 1.1em;
}
#mainmenu ul li {
margin-bottom: 1px;
}
#mainmenu ul li a, #mainmenu ul li ul li a, #mainmenu ul li.active ul li a {
font-weight: bold;
height: 20px;
text-decoration: none;
color: #505050;
display: block;
padding: 4px 0 2px 0px;
background: url('../img/menu.png') top center repeat-x;
border-left: 4px solid #cccccc;
}
#mainmenu ul li a:hover, #mainmenu ul li ul li a:hover {
background: url('../img/menu-hover.png') top center repeat-x;
color: #336699;
border-left: 4px solid #336699;
}
#mainmenu ul li.active a, #mainmenu ul li.active ul li.active a {
background: url('../img/menu-active.png') top center repeat-x;
color: #336699;
border-left: 4px solid #FF9900;
}
#mainmenu ul li.active a:hover, #mainmenu ul li.active ul li a:hover {
background: url('../img/menu-hover.png') top center repeat-x;
color: #336699;
border-left: 4px solid #336699;
}
#mainmenu ul li ul {
width: 155px;
margin: 1px 0 0 15px;
font-size: .9em;
}