Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
css 'current' entry missed in submenu
#1
hey,

I hold two menu-points beside,
they are subpoints of an unvisible point 'portrait'


and from this code
Code:
<ul class="nav">
get_i18n_navigation('portrait', $minlevel=1, $maxlevel=1 ,$show=I18N_SHOW_PAGES);
</ul>
I always get just
Code:
<nav>
<ul class="nav">
<li class="vita portrait"><a href="http:.../index.php?id=vita" title="Vita">Vita</a></li>
<li class="contact portrait"><a href=".../index.php?id=contact" title="Contact">Contact</a></li>
</ul>
</nav>  
what doesn't give a "current" or "current open",
so no way to hightlight the active menu-entry in a dynamic style?
May be I've just to use a fix link with a php-entry for css?


(when I use 'return_page_slug(FALSE)' instead 'portrait', I get the css 'currentpath',
but when I leave this portrait-menu-point, my fix portrait-points are gone/not accessible anymore, because 'portrait' is unvisible)


bell
Reply


Messages In This Thread
css 'current' entry missed in submenu - by Belletage - 2017-09-03, 08:02:54



Users browsing this thread: 2 Guest(s)