Live app heading link

When I view the live app and click the main heading, whether I set it to text or a logo, it opens one of the pages. Where are the settings to change the link or even disable it?

Hi Nick,

You can add this to your Custom JavaScript:

$(document).on('knack-scene-render.any', function(event, scene) {
  const appLogo = $('#knack-logo a')
  // To remove the link:
  appLogo.removeAttr('href').css('cursor', 'initial')

  // To change the link:
  appLogo.attr('href', '')


Knack Pros

1 Like

Many thanks, Ian. The code works perfectly :grin:

1 Like