I would like to eliminate the mobile menu "Select a Page" drop down menu for this simple website navigation.
Deactivate Select a Page mobile menu bar
6 posts from 4 voices-
Posted 4 months ago #
-
Hey!
Open up choices/js/avia.js and delete following code:
//create first option (no value) selectString += '<option value="">'+settings.topOptionText+'</option>';Regards,
PeterPosted 4 months ago # -
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?
Posted 4 months ago # -
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: ' ' //string for indenting nested items });Regards,
Devin
Posted 4 months ago # -
Thank you. That works.
Posted 4 months ago # -
Hi 78Firebird,
Glad that Devin helped you. :)
Cheers,
IsmaelPosted 4 months ago #
Reply
You must log in to post.














