navigation set active

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10039317
    cdoo
    Participant

    Hi!

    how can I set an li element as “active” in the main navigation.
    below my code:

    <nav id="menu" class="nav-main" role="navigation">
    <ul class="nav nav-main">
     <li><a href="./test/main"><i class="bx bx-home-alt" aria-hidden="true"></i><span>Test</span></a></li>
    </ul>
    </nav>

    thanks!



    Template Version: actual
    #10039320
    Support
    Keymaster

    Hello, you can add the class “nav-active” in the LI.

    Kind Regards.


Viewing 2 posts - 1 through 2 (of 2 total)

This topic is marked as "RESOLVED" and can not rceive new replies.