2012-03-28, 21:07:35
(This post was last modified: 2012-03-28, 21:08:12 by Chartlogic.)
Now plugin styling only parent links with tag current. How to style active child link?
I18N Navigation child active styling
|
2012-03-28, 21:07:35
(This post was last modified: 2012-03-28, 21:08:12 by Chartlogic.)
Now plugin styling only parent links with tag current. How to style active child link?
2012-03-28, 22:48:14
Laurynas Wrote:Now plugin styling only parent links with tag current. How to style active child link? The current page gets the CSS class current, the parent(s) the CSS class currentpath.
2012-03-29, 00:07:03
(This post was last modified: 2012-03-29, 00:18:43 by Chartlogic.)
It's working only for top menu parent tags. Child li tags don't getting style current/current path, look source code on http://puolau.bot.nu/vm/
What's the problem? P.S. Here is my nav structure: Topmenu getting with: Code: <ul><?php get_i18n_navigation(return_page_slug(),0,0); ?></ul> Leftmenu: Code: <?php get_i18n_navigation('left-menu',1,99,I18N_SHOW_MENU); ?>
2012-03-29, 05:18:34
Laurynas Wrote:It's working only for top menu parent tags. Child li tags don't getting style current/current path, look source code on http://puolau.bot.nu/vm/ You must use return_page_slug() as first parameter, if the current page is a sub page of left_menu. See here for the code.
2012-03-29, 17:35:02
(This post was last modified: 2012-03-29, 17:42:12 by Chartlogic.)
-
|
« Next Oldest | Next Newest »
|