navigation menu with span

Permalink
Hi my template has a decent nav menu. using html it looks like this
<ul>
<li><a href="#" title="Link 1"><span>Link 1</span></a></li>
<li><a href="#" title="Link 2"><span>Link 2</span></a></li>
</ul>

when i replace that with C5 Php nav code - I dont see the nice boxes etc. in style.css there is :#tabs a span; and #tabs a:hover span;.
Is there some way to get this span to read in C5 nav ??
hope this isnt too newbie a question..

oaknshield
 
12345j replied on at Permalink Reply
12345j
what are you placing it? im pretty sure you should be doing it for the second version of Link 1, not the first or both. the first is the css link anyway.
Mnkras replied on at Permalink Reply
Mnkras
i have a custom template you can use, recoded it for 5.4.1, didn't get to test,

<?
   defined('C5_EXECUTE') or die("Access Denied.");
   $aBlocks = $controller->generateNav();
   $c = Page::getCurrentPage();
   $containsPages = false;
   $nh = Loader::helper('navigation');
   //this will create an array of parent cIDs 
   $inspectC=$c;
   $selectedPathCIDs=array( $inspectC->getCollectionID() );
   $parentCIDnotZero=true;   
   while($parentCIDnotZero){
      $cParentID=$inspectC->cParentID;
      if(!intval($cParentID)){
         $parentCIDnotZero=false;
      }else{


if you need it for an earlier version let me know