Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PROBLEM "current" navigation
#1
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?
Glowczynski.pl - webmaster, graphic designer, translator.
For any job offers contact me via artur@glowczynski.pl.
Reply
#2
#menu li.current a{

?
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#3
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
Glowczynski.pl - webmaster, graphic designer, translator.
For any job offers contact me via artur@glowczynski.pl.
Reply
#4
So there's no solution?
Glowczynski.pl - webmaster, graphic designer, translator.
For any job offers contact me via artur@glowczynski.pl.
Reply
#5
What's your get_navigation line like?
Reply
#6
Simply get_navigation(), as always.
Glowczynski.pl - webmaster, graphic designer, translator.
For any job offers contact me via artur@glowczynski.pl.
Reply
#7
The usual default usage is

get_navigation(return_page_slug())
Reply
#8
(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.
Glowczynski.pl - webmaster, graphic designer, translator.
For any job offers contact me via artur@glowczynski.pl.
Reply




Users browsing this thread: 1 Guest(s)