If someone intrested, i’ve find way to do something like that:
<li id="1" class="first-level cm-active "><br />
<li id="2" class="first-level"><br />
<li id="3" class=" has-subitems "><br />
<li id="4" class="first-level "><br />
<li id="5" class="first-level "><br />
<li id="6" class=" has-subitems "><br />
<li id="7" class="first-level "><br />
<li id="8" class="first-level ">
```<br />
in top menu<br />
Here is my way to do this:<br />
Find and replace this part of code<br />
```php
<li class="first-level {if $m.selected == true}cm-active{/if}">
```<br />
to this <br />
```php
<li id="{$m.position}" class="{if $m.subitems == false}first-level{/if} {if $m.subitems == true}has-subitems{/if} {if $m.selected == true}cm-active{/if} ">