Sorbet includes a little JavaScript to toggle the menu. It can be found at js/menus.js
. You’ll have to edit that in order to get your new dropdown to toggle correctly. It’s pretty self-explanatory if you read the code.
Awesome. That worked! On to styling!
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
The theme also enqueues that script
wp_enqueue_script( 'sorbet-menus', get_template_directory_uri() . '/js/menus.js', array( 'jquery' ), '20120206', true );
hint *