Nav-links suddenly not working

Hi everybody,

This is my first time I encountered a problem that I couldn’t solve just by reading the forum. But now I find myself struggeling with a problem regarding my nav-bar.

Problem:
The links in the nav-bar suddenly not working anymore. They are linking to pages properly, put fore some reason I can’t click them. They have been working fore a while, but suddenly they stoped. I don’t believe I did any changes to the nav-bar. Hope anyone can help :slight_smile:

Try removing your custom code to see if it’s causing the issue…

<script>
Webflow.push(function() {
  $('.navbar').click(function(e) {
    e.preventDefault();
	$('body').css('overflow', 'hidden');
  });

  $('.navbar').click(function(e) {
    e.preventDefault();
	$('body').css('overflow', 'auto');
  });
});
</script>

HA! Yes that helped with the problem of the links not working anymore. I feel so foolish :wink: Thank you so much!!