Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: SideNav with a submenu already opened

cdenby pro asked 5 years ago


Is it possible to load a sidenav (in a doublenav in my case) with a submenu already expanded? I can't seem to find documentation on that.


Grzegorz Bujański staff answered 5 years ago


Hi. You can only expand one subment at a time. Add the active class to the element you want to expand:

<li>
    <a class="collapsible-header waves-effect arrow-r active">
        <i class="fas fa-chevron-right"></i> 
            Submit blog
        <i class="fas fa-angle-down rotate-icon"></i>
    </a>
    <div class="collapsible-body">
        <ul class="list-unstyled">
            <li>
                <a href="#" class="waves-effect">Submit listing</a>
            </li>
            <li>
                <a href="#" class="waves-effect">Registration form</a>
            </li>
        </ul>
    </div>
</li>

Best, Grzegorz


cdenby pro answered 5 years ago


Excellent - thank you.


Grzegorz Bujański staff commented 4 years ago

I'm glad I could help.

Best, Grzegorz



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.12.0
  • Device: PC
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No