I have this small Joomla project and I need help with the mobile menu. The anchor links just scroll but the menu doesn't close. Is there any script I can add to the index.php? I'm using Joomla3 3x.

Those are my menu classes:

<div class="menu_mobile">   
    <ul class="nav menu mod-list">   
        <li class="items">      
            <ul class="nav-child unstyled" style="display: block;">   
                <li class="item-1"><a href="/anchor-link#link1">anchor link 1</a></li>
                <li class="item-2"><a href="/anchor-link#link2">anchor link 2</a></li>
                <li class="item-3"><a href="/anchor-link#link3">anchor link 3</a></li>
                <li class="item-4"><a href="/anchor-link#link4">anchor link 4</a></li>
                <li class="item-5"><a href="/anchor-link#link5">anchor link 5</a></li>
                <li class="item-6"><a href="/anchor-link#link6">anchor link 6</a></li>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.