Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #19549

    I would like to eliminate the mobile menu “Select a Page” drop down menu for this simple website navigation.

    http://www.lapersonasalon.com/

    #104117

    Hey!

    Open up choices/js/avia.js and delete following code:

    //create first option (no value)
    selectString += '<option value="">'+settings.topOptionText+'</option>';

    Regards,

    Peter

    #104118

    I deleted the code. When you open/refresh the page the mobile menu goes away…then, it comes back and behaves as before. Anything else to try?

    #104119

    Hi

    I think Peter misunderstood and thought you wanted to just remove the initial option text. You can remove the menu from appearing by removing the following in that same file:

    // improves menu for mobile devices
    jQuery('.responsive .main_menu ul:eq(0)').mobileMenu({
    switchWidth: 768, //width (in px to switch at)
    topOptionText: jQuery('.main_menu').data('selectname'), //first option text
    indentString: '&nbsp;&nbsp;&nbsp;' //string for indenting nested items
    });

    Regards,

    Devin

    #104120

    Thank you. That works.

    #104121

    Hi 78Firebird,

    Glad that Devin helped you. :)

    Cheers,

    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Deactivate Select a Page mobile menu bar’ is closed to new replies.