skip to Main Content

I’d like to have my responsive menu in wordpress/divi show up as active by default on page load rather than requiring the user to have to first click on the hamburger icon. Is there a setting for this?

2

Answers


  1. Chosen as BEST ANSWER

    I was able to get it to work through use of the Divi Plugin for the Pro Responsive Menu. There was an option to open on page load.


  2. You can try using jQuery to add the required class and style to your menu items on page load. Something like:

    $( document ).ready(function() {
        $('.mobile_nav').addClass('opened');
        $('#mobile_menu).css('display','block');
    });
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search