Hi Leo, Thank you for your response. I have added this code in my website but i cannot see the difference. I have added as a hook in wp_head.
<script>
jQuery( document ).ready( function( $ ) {
$( '.main-navigation ul ul li.menu-item-has-children > a' ).on( 'click', function() {
$( this ).closest( 'li' ).siblings().removeClass( 'sfHover' ).find( '.sub-menu' ).removeClass( 'toggled-on' );
} );
} );
</script>
We are clicking on the arrow and checking this. If I click on Parent sub menu item then we will be redirected to a different page so we don’t need it there.
Please visit blissfulweddingfeet.com.au/ and check by yourself once.
Thanks