Hi,
After updating the theme the code doesn’t work anymore
can you tell me how to fix it??
i’m using the code
<script>
jQuery( document ).ready(function() {
jQuery('.home ul#menu-mainmenu li.menu-item-103 a').click(function(e) {
e.preventDefault();
jQuery('html, body').animate({scrollTop : 0},800);
});
});
</script>
<script>
jQuery( document ).ready(function() {
jQuery('ul#menu-mainmenu li a').click(function(e) {
jQuery('ul#menu-mainmenu li a span.nav-line').css( "width", "0%" );
jQuery(this).find('span.nav-line').css("width", "99%");
});
});
</script>
now If I click on the menu there is no underline hovered also home is refreshing back again