I have an icon in the menu (added directly in wordpress menu title)
<div id="nav-icon1">
<span></span>
<span></span>
<span></span>
</div>
with
$(document).ready(function(){
$('#nav-icon1,#nav-icon2,#nav-icon3,#nav-icon4').click(function(){
$(this).toggleClass('open');
});
});
but doesnt work properly. When u click it transform to “X”, it should make the animation on click. But when you customize generatepress primary menu in “click – element”, the icon doesnt do nothing. “Open” should be added as a class in id=”nav-icon1″ div element, never happens.