I’m trying to create my own custom “mega” menu and didn’t want to use the UBER menu plugin. I did create my own custom navigation using the “Content Dropdown” but I’m not able to make the dropdown full width because the drop down aligns to the left/right of the toggle button, so there’s a margin on the left or right which would be difficult to offset on every display.
So I decided to try a JS toggle on an element “content area” activated by a button click. I’m able to get it to work but I’m not able to get it to work within PRO.
In the custom header, I created a bar/container/ and added an element “button” and added the correct ID under “customize”. I then added another bar/container/ and added element “content area” and added correct ID to the bar in the “customize” section.
I then put in the following under the global JS under theme options. (I also tested in the header JS).
$( “#azn-btn-products” ).first().click(function() {
$( “#azn-menu-products” ).first().fadeToggle( “fast”, “linear” );
});
I can’t get it to work. I can get to work fine in my testing environment, but not in PRO.
