Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can I add custom style ?
#2
in line 50 zegnat-multilevelnavigation.php
Code:
echo '<li'.("$link->slug"==$a?' class="active"':($isActiveParent?' class="parent"':'')).'><a href="'.$link->url.'">'.$link->menu.'</a>';
replaced by
Code:
echo '<li'.("$link->slug"==$a?' class="active"':($isActiveParent?' class="parent"':'')).'><a href="'.$link->url.'"><span class="my-class-in-css-file">'.$link->menu.'</span></a>';
or in line 56
Code:
echo '<li'.("$link->slug"==$a?' class="active"':'').'><a href="'.$link->url.'">'.$link->menu.'</a></li>';
replaced by
Code:
echo '<li'.("$link->slug"==$a?' class="active"':'').'><a href="'.$link->url.'"><span class="my-class-in-css-file">'.$link->menu.'</span></a></li>';
Reply


Messages In This Thread
How can I add custom style ? - by gimx - 2011-01-14, 04:35:42
How can I add custom style ? - by Oleg06 - 2011-01-14, 06:33:24
How can I add custom style ? - by gimx - 2011-01-14, 13:26:34



Users browsing this thread: 1 Guest(s)