GetSimple Support Forum
css 'current' entry missed in submenu - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: css 'current' entry missed in submenu (/showthread.php?tid=9974)



css 'current' entry missed in submenu - Belletage - 2017-09-03

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