GetSimple Support Forum

Full Version: "current" navigation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi.

How can I set up the "current" navigation class to be shown? I am working on this theme - http://base.kingarchee.pl/getsimple/demos/Azure/ - and I am not able to make current navigation element shown with dark background.

I have this as a code for current:
Code:
#menu a:hover, #menu li.current {
    text-decoration: none;
}

#menu li.current {
    background: #008C9A;
}
And it doesn't work. How can I fix it?
#menu li.current a{

?
Nope, it doesn't work.

Also I've noticed the li doesn't generate the "current" class, only a class based on slug. Last time I was editing a theme, the "current" was generated automatically, now what? Here's scr: https://scr.hu/K2eaaO
So there's no solution?
What's your get_navigation line like?
Simply get_navigation(), as always.
The usual default usage is

get_navigation(return_page_slug())
(2016-05-12, 04:21:26)Carlos Wrote: [ -> ]The usual default usage is

get_navigation(return_page_slug())

Thank you very much Carlos, I forgot about it. You're the best. Wink It should be included in Wiki.