I have a top navigation bar, centered with spacing set in between the <li></li> working perfectly until I add
&rowTpl=`@FILE:assets/modules/yams/tpl/wayfinder/docr/row.tpl`
which is needed to switch in between languages.
Can you help me to see what I need to add in the &rowTpl code itself as that is the only place I can see that needs to change. When &rowTpl is not there, the spacing is perfect. It’s the only thing holding me up from launching this site!
my CSS code:
ul.navUP {
margin: 0px;
padding: 0px;
font-size: .8em;
color: #BE3596;
list-style-type: none;
white-space: nowrap;
text-align: center;
word-spacing: 40px;
}
ul.navUP a:link, a:active {
text-decoration: none;
color: #BE3596;
}
ul.navUP a:hover {
text-decoration: none;
background-color: transparent;
color: #792C82;
}
ul.navUP li {
padding: 0px;
display: inline;
word-spacing: 0px;
}
The &rowTpl code is:
<li[+wf.id+][+wf.classes+]>
<a href="(yams_doc:[+wf.docid+])" title="[[YAMS? &get=`data` &docid=`[+wf.docid+]` &from=`pagetitle`]]" [+wf.attributes+]>[[YAMS? &get=`data` &docid=`[+wf.docid+]` &from=`menutitle`]]</a>
[+wf.wrapper+]
</li>
My Wayfinder call is:
[[Wayfinder? &language=`(yams_mname)` &startId=`0` &outerTpl=`menuContainer` &outerClass=`navUp` &rowTpl=`@FILE:assets/modules/yams/tpl/wayfinder/docr/row.tpl` &level=`0` &hideSubMenus=`TRUE` &hereClass=`current` &hereTpl=`menuheretpl`]]