Class on LI element
-
Hi,
In my navigation I wan’t to change the colour of the bullet on
<li>when a section is “highlighted”.I’m not sure this is possible without having class “highlight” on the
<li>element like so:<nav> <ul> <li class="highlight"><a href="#section1">Section 1</a></li> <li><a href="#section2">Section 2</a></li> </ul> </nav>And the plugin adds the class to the hyperlink element as default:
<nav> <ul> <li><a href="#section1" class="highlight">Section 1</a></li> <li><a href="#section2">Section 2</a></li> </ul> </nav>Any way to select the
<li>element as to where the classes are added? And if this can be solved with pure CSS then thats fine too.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Class on LI element’ is closed to new replies.