0

I would like to ask for help, I am correcting a wordpress page created by someone else. The problem is redirection in the simple nested menu. The menu is made quite primitive and bad, after clicking on any padding in the expanded sub navigation menu, you are redirected to the parent address located only under <li class="nested"> “/klasicke-stroje” not to current child for example “spodne frézy” from <ul class="sub-navigation">, you can try it on <kusing.sk>. Visually descriptive,
Of course after removal

href = "<? php echo get_home_url ();?> /klasicke-stroje"

everything works as it should in sub nevigation, but I want the first button to work as well. I know that the problem is how code is written but equivalent just doesn’t come in mind to me. Is there an easy way to do this, ideally without sql or js ?
Code

            <nav class="page-nav">
                <ul class="navigation">
                    <li class="nested">
                        <a href="<?php echo get_home_url(); ?>/klasicke-stroje">Klasické stroje</a>
                        <ul class="sub-navigation">
                            <li><a href="<?php echo get_home_url(); ?>/formatovacie-pily">Formát píly</a></li>
                            <li><a href="<?php echo get_home_url(); ?>/spodne-frezky">Spodné frézky</a></li>
                            <li><a href="<?php echo get_home_url(); ?>/rozmetacie-pily">Kartáčovky</a></li>
                            <li><a href="<?php echo get_home_url(); ?>/vodorovne-dlabacky">Vodorovné dlabačky</a></li>
                            <li><a href="<?php echo get_home_url(); ?>/rozmetacie-pily">Rozmietacie pily</a></li>
                        </ul>
                    </li>

WEBPAGE: <kusing.sk>