Auto expand menubar on mobile devices

Need help? Please give a detailed explanation of your problem.
Posts: 2
Joined: Mon Feb 27, 2017 10:28 pm

Auto expand menubar on mobile devices

Postby Dave3076 » Fri Jun 28, 2019 1:59 pm

How can I change the menubar on mobile devices when there is a submenu so that the submenu automatically is displayed?

Right now, if I click on the submenu title - it breifly displays the submenu navigation and then reloads the page.
AllPro Provider
Posts: 27
Joined: Wed May 08, 2019 10:35 am

Re: Auto expand menubar on mobile devices

Postby Benjaminh326 » Fri Jun 28, 2019 2:00 pm


In order to accomplish this, add this CSS code to your page:

Code: Select all

@media screen and (max-width: 768px)
   .dropdown-menu {
      position: relative;

   .nav li .dropdown-menu {
      display: block;

This will cause all items in your dropdown menu items (including the sub-menu items) to always display only on mobile.

Return to “Help / How to use AllProWebTools”

Who is online

Users browsing this forum: No registered users and 9 guests