S
S
Sergey Ignatiev2017-06-07 17:53:21
MODX
Sergey Ignatiev, 2017-06-07 17:53:21

How to change the styles of the active link in the menu in MODX?

The output of resources is done through pdoResourses
Each article has its own link in the menu. How can I change the appearance of the link (add class="active") if it is currently open, active?

<ul class="nav-main ">


              
</ul>

<li>
     <a href="">
             <span class="xn-text "></span>
            <img class="icons_menu" src="">
      </a>
    </li>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Froggyweb, 2017-06-07
@serebro223

In the chunk add
+ why not PDOmenu ?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question